2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir=.
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir=./$as_dir;;
291 test -d "$as_dir" || eval $as_mkdir_p || {
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360 as_val=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status=$?; test $as_status -eq 0 && as_status=1
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 elif ln conf$$.file conf$$ 2>/dev/null; then
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
501 test -d ./-p && rmdir ./-p
505 if test -x / >/dev/null 2>&1; then
508 if ls -dL / >/dev/null 2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix=/usr/local
549 ac_config_libobj_dir=.
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 ac_subst_vars='am__EXEEXT_FALSE
610 glibcxx_toolexeclibdir
614 ERROR_CONSTANTS_SRCDIR
643 GLIBCXX_LDBL_COMPAT_FALSE
644 GLIBCXX_LDBL_COMPAT_TRUE
645 ENABLE_VISIBILITY_FALSE
646 ENABLE_VISIBILITY_TRUE
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
659 port_specific_symbol_files
667 ENABLE_EXTERN_TEMPLATE_FALSE
668 ENABLE_EXTERN_TEMPLATE_TRUE
670 ENABLE_PARALLEL_FALSE
672 GLIBCXX_BUILD_DEBUG_FALSE
673 GLIBCXX_BUILD_DEBUG_TRUE
675 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
676 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
677 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
678 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
679 GLIBCXX_C_HEADERS_C_STD_FALSE
680 GLIBCXX_C_HEADERS_C_STD_TRUE
681 GLIBCXX_C_HEADERS_C_FALSE
682 GLIBCXX_C_HEADERS_C_TRUE
710 GLIBCXX_BUILD_PCH_FALSE
711 GLIBCXX_BUILD_PCH_TRUE
735 MAINTAINER_MODE_FALSE
762 INSTALL_STRIP_PROGRAM
818 program_transform_name
831 enable_option_checking
836 enable_maintainer_mode
843 enable_hosted_libstdcxx
844 enable_sjlj_exceptions
849 enable_libstdcxx_allocator
854 enable_concept_checks
855 enable_libstdcxx_debug_flags
856 enable_libstdcxx_debug
858 enable_fully_dynamic_string
859 enable_extern_template
860 enable_libstdcxx_time
864 with_system_libunwind
869 enable_version_specific_runtime_libs
871 ac_precious_vars='build_alias
887 # Initialize some variables set by options.
889 ac_init_version=false
890 ac_unrecognized_opts=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name=s,x,x,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir='${exec_prefix}/bin'
916 sbindir='${exec_prefix}/sbin'
917 libexecdir='${exec_prefix}/libexec'
918 datarootdir='${prefix}/share'
919 datadir='${datarootdir}'
920 sysconfdir='${prefix}/etc'
921 sharedstatedir='${prefix}/com'
922 localstatedir='${prefix}/var'
923 includedir='${prefix}/include'
924 oldincludedir='/usr/include'
925 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir='${datarootdir}/info'
931 libdir='${exec_prefix}/lib'
932 localedir='${datarootdir}/locale'
933 mandir='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\$ac_option
947 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
951 # Accept the important Cygnus configure options, so we can diagnose typos.
953 case $ac_dashdash$ac_option in
957 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
962 -build | --build | --buil | --bui | --bu)
963 ac_prev=build_alias ;;
964 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
965 build_alias=$ac_optarg ;;
967 -cache-file | --cache-file | --cache-fil | --cache-fi \
968 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
969 ac_prev=cache_file ;;
970 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
971 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
972 cache_file=$ac_optarg ;;
975 cache_file=config.cache ;;
977 -datadir | --datadir | --datadi | --datad)
979 -datadir=* | --datadir=* | --datadi=* | --datad=*)
980 datadir=$ac_optarg ;;
982 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
983 | --dataroo | --dataro | --datar)
984 ac_prev=datarootdir ;;
985 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
986 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
987 datarootdir=$ac_optarg ;;
989 -disable-* | --disable-*)
990 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993 as_fn_error "invalid feature name: $ac_useropt"
994 ac_useropt_orig=$ac_useropt
995 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996 case $ac_user_opts in
1000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001 ac_unrecognized_sep=', ';;
1003 eval enable_$ac_useropt=no ;;
1005 -docdir | --docdir | --docdi | --doc | --do)
1007 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008 docdir=$ac_optarg ;;
1010 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013 dvidir=$ac_optarg ;;
1015 -enable-* | --enable-*)
1016 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error "invalid feature name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_$ac_useropt"
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1029 eval enable_$ac_useropt=\$ac_optarg ;;
1031 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1032 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033 | --exec | --exe | --ex)
1034 ac_prev=exec_prefix ;;
1035 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1036 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1037 | --exec=* | --exe=* | --ex=*)
1038 exec_prefix=$ac_optarg ;;
1040 -gas | --gas | --ga | --g)
1041 # Obsolete; use --with-gas.
1044 -help | --help | --hel | --he | -h)
1045 ac_init_help=long ;;
1046 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1047 ac_init_help=recursive ;;
1048 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1049 ac_init_help=short ;;
1051 -host | --host | --hos | --ho)
1052 ac_prev=host_alias ;;
1053 -host=* | --host=* | --hos=* | --ho=*)
1054 host_alias=$ac_optarg ;;
1056 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 htmldir=$ac_optarg ;;
1062 -includedir | --includedir | --includedi | --included | --include \
1063 | --includ | --inclu | --incl | --inc)
1064 ac_prev=includedir ;;
1065 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1066 | --includ=* | --inclu=* | --incl=* | --inc=*)
1067 includedir=$ac_optarg ;;
1069 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1072 infodir=$ac_optarg ;;
1074 -libdir | --libdir | --libdi | --libd)
1076 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1077 libdir=$ac_optarg ;;
1079 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1080 | --libexe | --libex | --libe)
1081 ac_prev=libexecdir ;;
1082 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1083 | --libexe=* | --libex=* | --libe=*)
1084 libexecdir=$ac_optarg ;;
1086 -localedir | --localedir | --localedi | --localed | --locale)
1087 ac_prev=localedir ;;
1088 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1089 localedir=$ac_optarg ;;
1091 -localstatedir | --localstatedir | --localstatedi | --localstated \
1092 | --localstate | --localstat | --localsta | --localst | --locals)
1093 ac_prev=localstatedir ;;
1094 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1095 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1096 localstatedir=$ac_optarg ;;
1098 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1101 mandir=$ac_optarg ;;
1103 -nfp | --nfp | --nf)
1104 # Obsolete; use --without-fp.
1107 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1108 | --no-cr | --no-c | -n)
1111 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1112 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1115 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1116 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1117 | --oldin | --oldi | --old | --ol | --o)
1118 ac_prev=oldincludedir ;;
1119 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1120 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1121 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1122 oldincludedir=$ac_optarg ;;
1124 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1127 prefix=$ac_optarg ;;
1129 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1130 | --program-pre | --program-pr | --program-p)
1131 ac_prev=program_prefix ;;
1132 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1133 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1134 program_prefix=$ac_optarg ;;
1136 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1137 | --program-suf | --program-su | --program-s)
1138 ac_prev=program_suffix ;;
1139 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1140 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1141 program_suffix=$ac_optarg ;;
1143 -program-transform-name | --program-transform-name \
1144 | --program-transform-nam | --program-transform-na \
1145 | --program-transform-n | --program-transform- \
1146 | --program-transform | --program-transfor \
1147 | --program-transfo | --program-transf \
1148 | --program-trans | --program-tran \
1149 | --progr-tra | --program-tr | --program-t)
1150 ac_prev=program_transform_name ;;
1151 -program-transform-name=* | --program-transform-name=* \
1152 | --program-transform-nam=* | --program-transform-na=* \
1153 | --program-transform-n=* | --program-transform-=* \
1154 | --program-transform=* | --program-transfor=* \
1155 | --program-transfo=* | --program-transf=* \
1156 | --program-trans=* | --program-tran=* \
1157 | --progr-tra=* | --program-tr=* | --program-t=*)
1158 program_transform_name=$ac_optarg ;;
1160 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1163 pdfdir=$ac_optarg ;;
1165 -psdir | --psdir | --psdi | --psd | --ps)
1167 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1171 | -silent | --silent | --silen | --sile | --sil)
1174 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 sbindir=$ac_optarg ;;
1180 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1181 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1182 | --sharedst | --shareds | --shared | --share | --shar \
1184 ac_prev=sharedstatedir ;;
1185 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1186 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1187 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 sharedstatedir=$ac_optarg ;;
1191 -site | --site | --sit)
1193 -site=* | --site=* | --sit=*)
1196 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1199 srcdir=$ac_optarg ;;
1201 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1202 | --syscon | --sysco | --sysc | --sys | --sy)
1203 ac_prev=sysconfdir ;;
1204 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1205 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1206 sysconfdir=$ac_optarg ;;
1208 -target | --target | --targe | --targ | --tar | --ta | --t)
1209 ac_prev=target_alias ;;
1210 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1211 target_alias=$ac_optarg ;;
1213 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1216 -version | --version | --versio | --versi | --vers | -V)
1217 ac_init_version=: ;;
1220 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221 # Reject names that are not valid shell variable names.
1222 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223 as_fn_error "invalid package name: $ac_useropt"
1224 ac_useropt_orig=$ac_useropt
1225 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep=', ';;
1233 eval with_$ac_useropt=\$ac_optarg ;;
1235 -without-* | --without-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1249 eval with_$ac_useropt=no ;;
1252 # Obsolete; use --with-x.
1255 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1256 | --x-incl | --x-inc | --x-in | --x-i)
1257 ac_prev=x_includes ;;
1258 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1259 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1260 x_includes=$ac_optarg ;;
1262 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1263 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1264 ac_prev=x_libraries ;;
1265 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1266 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1267 x_libraries=$ac_optarg ;;
1269 -*) as_fn_error "unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information."
1274 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 case $ac_envvar in #(
1277 '' | [0-9]* | *[!_$as_cr_alnum]* )
1278 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 eval $ac_envvar=\$ac_optarg
1281 export $ac_envvar ;;
1284 # FIXME: should be removed in autoconf 3.0.
1285 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1287 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1294 if test -n "$ac_prev"; then
1295 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1296 as_fn_error "missing argument to $ac_option"
1299 if test -n "$ac_unrecognized_opts"; then
1300 case $enable_option_checking in
1302 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1303 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1307 # Check all directory arguments for consistency.
1308 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309 datadir sysconfdir sharedstatedir localstatedir includedir \
1310 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311 libdir localedir mandir
1313 eval ac_val=\$$ac_var
1314 # Remove trailing slashes.
1317 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318 eval $ac_var=\$ac_val;;
1320 # Be sure to have absolute directory names.
1322 [\\/$]* | ?:[\\/]* ) continue;;
1323 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1333 target=$target_alias
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x; then
1337 if test "x$build_alias" = x; then
1338 cross_compiling=maybe
1339 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1340 If a cross compiler is detected then cross compile mode will be used." >&2
1341 elif test "x$build_alias" != "x$host_alias"; then
1347 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349 test "$silent" = yes && exec 6>/dev/null
1352 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1353 ac_ls_di=`ls -di .` &&
1354 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1355 as_fn_error "working directory cannot be determined"
1356 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1357 as_fn_error "pwd does not report name of working directory"
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362 ac_srcdir_defaulted=yes
1363 # Try the directory containing this script, then the parent directory.
1364 ac_confdir=`$as_dirname -- "$as_myself" ||
1365 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366 X"$as_myself" : 'X\(//\)[^/]' \| \
1367 X"$as_myself" : 'X\(//\)$' \| \
1368 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1369 $as_echo X"$as_myself" |
1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1392 ac_srcdir_defaulted=no
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1396 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 # When building in place, set srcdir=.
1403 if test "$ac_abs_confdir" = "$ac_pwd"; then
1406 # Remove unnecessary trailing slashes from srcdir.
1407 # Double slashes in file names in object file debugging info
1408 # mess up M-x gdb in Emacs.
1410 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 for ac_var in $ac_precious_vars; do
1413 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1414 eval ac_env_${ac_var}_value=\$${ac_var}
1415 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1416 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1420 # Report the --help message.
1422 if test "$ac_init_help" = "long"; then
1423 # Omit some internal or obsolete options to make the list less imposing.
1424 # This message is too long to be a string in the A/UX 3.1 sh.
1426 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428 Usage: $0 [OPTION]... [VAR=VALUE]...
1430 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1431 VAR=VALUE. See below for descriptions of some of the useful variables.
1433 Defaults for the options are specified in brackets.
1436 -h, --help display this help and exit
1437 --help=short display options specific to this package
1438 --help=recursive display the short help of all the included packages
1439 -V, --version display version information and exit
1440 -q, --quiet, --silent do not print \`checking...' messages
1441 --cache-file=FILE cache test results in FILE [disabled]
1442 -C, --config-cache alias for \`--cache-file=config.cache'
1443 -n, --no-create do not create output files
1444 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1446 Installation directories:
1447 --prefix=PREFIX install architecture-independent files in PREFIX
1448 [$ac_default_prefix]
1449 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1452 By default, \`make install' will install all the files in
1453 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1454 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1455 for instance \`--prefix=\$HOME'.
1457 For better control, use the options below.
1459 Fine tuning of the installation directories:
1460 --bindir=DIR user executables [EPREFIX/bin]
1461 --sbindir=DIR system admin executables [EPREFIX/sbin]
1462 --libexecdir=DIR program executables [EPREFIX/libexec]
1463 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1464 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1465 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1466 --libdir=DIR object code libraries [EPREFIX/lib]
1467 --includedir=DIR C header files [PREFIX/include]
1468 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1469 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1470 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1471 --infodir=DIR info documentation [DATAROOTDIR/info]
1472 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1473 --mandir=DIR man documentation [DATAROOTDIR/man]
1474 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1475 --htmldir=DIR html documentation [DOCDIR]
1476 --dvidir=DIR dvi documentation [DOCDIR]
1477 --pdfdir=DIR pdf documentation [DOCDIR]
1478 --psdir=DIR ps documentation [DOCDIR]
1484 --program-prefix=PREFIX prepend PREFIX to installed program names
1485 --program-suffix=SUFFIX append SUFFIX to installed program names
1486 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1489 --build=BUILD configure for building on BUILD [guessed]
1490 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1491 --target=TARGET configure for building compilers for TARGET [HOST]
1495 if test -n "$ac_init_help"; then
1496 case $ac_init_help in
1497 short | recursive ) echo "Configuration of package-unused version-unused:";;
1502 --disable-option-checking ignore unrecognized --enable/--with options
1503 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1504 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1505 --enable-multilib build many library versions (default)
1506 --enable-maintainer-mode enable make rules and dependencies not useful
1507 (and sometimes confusing) to the casual installer
1508 --enable-shared[=PKGS] build shared libraries [default=yes]
1509 --enable-static[=PKGS] build static libraries [default=yes]
1510 --enable-fast-install[=PKGS]
1511 optimize for fast installation [default=yes]
1512 --disable-libtool-lock avoid locking (might break parallel builds)
1513 --disable-hosted-libstdcxx
1514 only build freestanding C++ runtime support
1515 --enable-sjlj-exceptions
1516 force use of builtin_setjmp for exceptions
1518 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1519 [default=$is_hosted]
1520 --enable-cstdio[=PACKAGE]
1521 use target-specific I/O package [default=stdio]
1522 --enable-clocale[=MODEL]
1523 use MODEL for target locale package [default=auto]
1524 --enable-nls use Native Language Support (default)
1525 --enable-libstdcxx-allocator[=KIND]
1526 use KIND for target std::allocator base
1528 --enable-cheaders[=KIND]
1529 construct "C" headers for g++ [default=$c_model]
1530 --enable-long-long enable template specializations for 'long long'
1532 --enable-wchar_t enable template specializations for 'wchar_t'
1534 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1535 --enable-concept-checks use Boost-derived template checks [default=no]
1536 --enable-libstdcxx-debug-flags=FLAGS
1537 pass compiler FLAGS when building debug library
1539 --enable-libstdcxx-debug
1540 build extra debug library [default=no]
1541 --enable-cxx-flags=FLAGS
1542 pass compiler FLAGS when building library [default=]
1543 --enable-fully-dynamic-string
1544 do not put empty strings in per-process static
1546 --enable-extern-template
1547 enable extern template [default=yes]
1548 --enable-libstdcxx-time[=KIND]
1549 use KIND for check type [default=no]
1550 --enable-tls Use thread-local storage [default=yes]
1551 --disable-rpath do not hardcode runtime library paths
1552 --enable-linux-futex use the Linux futex system call [default=default]
1553 --enable-symvers[=STYLE]
1554 enables symbol versioning of the shared library
1556 --enable-visibility enables visibility safe usage [default=yes]
1557 --enable-version-specific-runtime-libs
1558 Specify that runtime libraries should be installed
1559 in a compiler-specific directory
1562 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1563 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1564 --with-target-subdir=SUBDIR
1565 configuring in a subdirectory
1566 --with-cross-host=HOST configuring with a cross compiler
1567 --with-newlib assume newlib as a system C library
1568 --with-pic try to use only PIC/non-PIC objects [default=use
1570 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1571 --with-gnu-ld assume the C compiler uses GNU ld default=no
1572 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1573 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1574 --with-system-libunwind use installed libunwind
1575 --with-gxx-include-dir=DIR
1576 installation directory for include files
1578 Some influential environment variables:
1579 CC C compiler command
1580 CFLAGS C compiler flags
1581 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582 nonstandard directory <lib dir>
1583 LIBS libraries to pass to the linker, e.g. -l<library>
1584 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585 you have headers in a nonstandard directory <include dir>
1586 CXX C++ compiler command
1587 CXXFLAGS C++ compiler flags
1589 CXXCPP C++ preprocessor
1590 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1591 `c++filt', `gc++filt' on PATH.
1593 Use these variables to override the choices made by `configure' or to help
1594 it to find libraries and programs with nonstandard names/locations.
1596 Report bugs to the package provider.
1601 if test "$ac_init_help" = "recursive"; then
1602 # If there are subdirs, report their specific --help.
1603 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604 test -d "$ac_dir" ||
1605 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613 # A ".." for each directory in $ac_dir_suffix.
1614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615 case $ac_top_builddir_sub in
1616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1626 .) # We are building in place.
1628 ac_top_srcdir=$ac_top_builddir_sub
1629 ac_abs_top_srcdir=$ac_pwd ;;
1630 [\\/]* | ?:[\\/]* ) # Absolute name.
1631 ac_srcdir=$srcdir$ac_dir_suffix;
1632 ac_top_srcdir=$srcdir
1633 ac_abs_top_srcdir=$srcdir ;;
1635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 cd "$ac_dir" || { ac_status=$?; continue; }
1642 # Check for guested configure.
1643 if test -f "$ac_srcdir/configure.gnu"; then
1645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 elif test -f "$ac_srcdir/configure"; then
1648 $SHELL "$ac_srcdir/configure" --help=recursive
1650 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 cd "$ac_pwd" || { ac_status=$?; break; }
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1659 package-unused configure version-unused
1660 generated by GNU Autoconf 2.64
1662 Copyright (C) 2009 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 } # ac_fn_c_try_compile
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_cxx_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 } # ac_fn_cxx_try_compile
1749 # ac_fn_c_try_cpp LINENO
1750 # ----------------------
1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758 *) ac_try_echo=$ac_try;;
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764 if test -s conftest.err; then
1765 grep -v '^ *+' conftest.err >conftest.er1
1766 cat conftest.er1 >&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } >/dev/null && {
1771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1772 test ! -s conftest.err
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786 # ac_fn_c_try_link LINENO
1787 # -----------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792 rm -f conftest.$ac_objext conftest$ac_exeext
1793 if { { ac_try="$ac_link"
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_link") 2>conftest.err
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest$ac_exeext && {
1812 test "$cross_compiling" = yes ||
1813 $as_test_x conftest$ac_exeext
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824 # interfere with the next link command; also delete a directory that is
1825 # left behind by Apple's compiler. We do this before executing the actions.
1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 } # ac_fn_c_try_link
1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1833 # -------------------------------------------------------
1834 # Tests whether HEADER exists and can be compiled using the include files in
1835 # INCLUDES, setting the cache variable VAR accordingly.
1836 ac_fn_c_check_header_compile ()
1838 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842 $as_echo_n "(cached) " >&6
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1849 if ac_fn_c_try_compile "$LINENO"; then :
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 } # ac_fn_c_check_header_compile
1863 # ac_fn_c_try_run LINENO
1864 # ----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1866 # that executables *can* be run.
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 if { { ac_try="$ac_link"
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>&5
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1881 { { case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_try") 2>&5
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; }; }; then :
1893 $as_echo "$as_me: program exited with status $ac_status" >&5
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1897 ac_retval=$ac_status
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1905 # ac_fn_c_check_func LINENO FUNC VAR
1906 # ----------------------------------
1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1908 ac_fn_c_check_func ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1914 $as_echo_n "(cached) " >&6
1916 if test x$gcc_no_link = xyes; then
1917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h. */
1921 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1923 #define $2 innocuous_$2
1925 /* System header to define __stub macros and hopefully few prototypes,
1926 which can conflict with char $2 (); below.
1927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1928 <limits.h> exists even on freestanding compilers. */
1931 # include <limits.h>
1933 # include <assert.h>
1938 /* Override any GCC internal prototype to avoid an error.
1939 Use char because int might match the return type of a GCC
1940 builtin and then its argument prototype would still apply. */
1945 /* The GNU C library defines this for functions which it implements
1946 to always fail with ENOSYS. Some functions are actually named
1947 something starting with __ and the normal name is an alias. */
1948 #if defined __stub_$2 || defined __stub___$2
1960 if ac_fn_c_try_link "$LINENO"; then :
1965 rm -f core conftest.err conftest.$ac_objext \
1966 conftest$ac_exeext conftest.$ac_ext
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973 } # ac_fn_c_check_func
1975 # ac_fn_cxx_try_cpp LINENO
1976 # ------------------------
1977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1978 ac_fn_cxx_try_cpp ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984 *) ac_try_echo=$ac_try;;
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990 if test -s conftest.err; then
1991 grep -v '^ *+' conftest.err >conftest.er1
1992 cat conftest.er1 >&5
1993 mv -f conftest.er1 conftest.err
1995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996 test $ac_status = 0; } >/dev/null && {
1997 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1998 test ! -s conftest.err
2002 $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.$ac_ext >&5
2007 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010 } # ac_fn_cxx_try_cpp
2012 # ac_fn_cxx_try_link LINENO
2013 # -------------------------
2014 # Try to link conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_link ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 rm -f conftest.$ac_objext conftest$ac_exeext
2019 if { { ac_try="$ac_link"
2021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022 *) ac_try_echo=$ac_try;;
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026 (eval "$ac_link") 2>conftest.err
2028 if test -s conftest.err; then
2029 grep -v '^ *+' conftest.err >conftest.er1
2030 cat conftest.er1 >&5
2031 mv -f conftest.er1 conftest.err
2033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034 test $ac_status = 0; } && {
2035 test -z "$ac_cxx_werror_flag" ||
2036 test ! -s conftest.err
2037 } && test -s conftest$ac_exeext && {
2038 test "$cross_compiling" = yes ||
2039 $as_test_x conftest$ac_exeext
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2048 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2049 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2050 # interfere with the next link command; also delete a directory that is
2051 # left behind by Apple's compiler. We do this before executing the actions.
2052 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2053 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 } # ac_fn_cxx_try_link
2058 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2059 # -------------------------------------------------------
2060 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2061 # the include files in INCLUDES and setting the cache variable VAR
2063 ac_fn_c_check_header_mongrel ()
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2070 $as_echo_n "(cached) " >&6
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2076 # Is the header compilable?
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2078 $as_echo_n "checking $2 usability... " >&6; }
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2084 if ac_fn_c_try_compile "$LINENO"; then :
2085 ac_header_compiler=yes
2087 ac_header_compiler=no
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2091 $as_echo "$ac_header_compiler" >&6; }
2093 # Is the header present?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2095 $as_echo_n "checking $2 presence... " >&6; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2100 if ac_fn_c_try_cpp "$LINENO"; then :
2101 ac_header_preproc=yes
2103 ac_header_preproc=no
2105 rm -f conftest.err conftest.$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2107 $as_echo "$ac_header_preproc" >&6; }
2109 # So? What about this header?
2110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2113 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2119 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2121 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2123 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2125 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2127 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131 $as_echo_n "checking for $2... " >&6; }
2132 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133 $as_echo_n "(cached) " >&6
2135 eval "$3=\$ac_header_compiler"
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2141 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143 } # ac_fn_c_check_header_mongrel
2145 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2146 # ---------------------------------------------------------
2147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2148 # the include files in INCLUDES and setting the cache variable VAR
2150 ac_fn_cxx_check_header_mongrel ()
2152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157 $as_echo_n "(cached) " >&6
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2163 # Is the header compilable?
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2165 $as_echo_n "checking $2 usability... " >&6; }
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h. */
2171 if ac_fn_cxx_try_compile "$LINENO"; then :
2172 ac_header_compiler=yes
2174 ac_header_compiler=no
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2178 $as_echo "$ac_header_compiler" >&6; }
2180 # Is the header present?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2182 $as_echo_n "checking $2 presence... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h. */
2187 if ac_fn_cxx_try_cpp "$LINENO"; then :
2188 ac_header_preproc=yes
2190 ac_header_preproc=no
2192 rm -f conftest.err conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194 $as_echo "$ac_header_preproc" >&6; }
2196 # So? What about this header?
2197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2208 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2212 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2220 $as_echo_n "(cached) " >&6
2222 eval "$3=\$ac_header_compiler"
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2228 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230 } # ac_fn_cxx_check_header_mongrel
2232 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2233 # --------------------------------------------
2234 # Tries to find the compile-time value of EXPR in a program that includes
2235 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 ac_fn_c_compute_int ()
2239 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240 if test "$cross_compiling" = yes; then
2241 # Depending upon the size, compute the lo and hi bounds.
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2248 static int test_array [1 - 2 * !(($2) >= 0)];
2255 if ac_fn_c_try_compile "$LINENO"; then :
2258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h. */
2264 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272 ac_hi=$ac_mid; break
2274 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2275 if test $ac_lo -le $ac_mid; then
2279 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2290 static int test_array [1 - 2 * !(($2) < 0)];
2297 if ac_fn_c_try_compile "$LINENO"; then :
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2306 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_lo=$ac_mid; break
2316 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2317 if test $ac_mid -le $ac_hi; then
2321 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 # Binary search between lo and hi bounds.
2332 while test "x$ac_lo" != "x$ac_hi"; do
2333 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h. */
2340 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2347 if ac_fn_c_try_compile "$LINENO"; then :
2350 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2362 static long int longval () { return $2; }
2363 static unsigned long int ulongval () { return $2; }
2370 FILE *f = fopen ("conftest.val", "w");
2375 long int i = longval ();
2378 fprintf (f, "%ld", i);
2382 unsigned long int i = ulongval ();
2385 fprintf (f, "%lu", i);
2387 /* Do not output a trailing newline, as this causes \r\n confusion
2388 on some platforms. */
2389 return ferror (f) || fclose (f) != 0;
2395 if ac_fn_c_try_run "$LINENO"; then :
2396 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2401 conftest.$ac_objext conftest.beam conftest.$ac_ext
2405 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2408 } # ac_fn_c_compute_int
2410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2411 # -------------------------------------------
2412 # Tests whether TYPE exists after having included INCLUDES, setting cache
2413 # variable VAR accordingly.
2414 ac_fn_c_check_type ()
2416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418 $as_echo_n "checking for $2... " >&6; }
2419 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2420 $as_echo_n "(cached) " >&6
2423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h. */
2435 if ac_fn_c_try_compile "$LINENO"; then :
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2448 if ac_fn_c_try_compile "$LINENO"; then :
2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2460 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462 } # ac_fn_c_check_type
2463 cat >config.log <<_ACEOF
2464 This file contains any messages produced by compilers while
2465 running configure, to aid debugging if configure makes a mistake.
2467 It was created by package-unused $as_me version-unused, which was
2468 generated by GNU Autoconf 2.64. Invocation command line was
2480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2487 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2489 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2490 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2492 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2493 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2494 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2495 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir=.
2504 $as_echo "PATH: $as_dir"
2520 # Keep a trace of the command line.
2521 # Strip out --no-create and --no-recursion so they do not pile up.
2522 # Strip out --silent because we don't want to record it for future runs.
2523 # Also quote any args containing shell meta-characters.
2524 # Make two passes to allow for proper duplicate-argument suppression.
2528 ac_must_keep_next=false
2534 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2535 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2536 | -silent | --silent | --silen | --sile | --sil)
2539 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2542 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2544 as_fn_append ac_configure_args1 " '$ac_arg'"
2545 if test $ac_must_keep_next = true; then
2546 ac_must_keep_next=false # Got value, back to normal.
2549 *=* | --config-cache | -C | -disable-* | --disable-* \
2550 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2551 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2552 | -with-* | --with-* | -without-* | --without-* | --x)
2553 case "$ac_configure_args0 " in
2554 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2557 -* ) ac_must_keep_next=true ;;
2560 as_fn_append ac_configure_args " '$ac_arg'"
2565 { ac_configure_args0=; unset ac_configure_args0;}
2566 { ac_configure_args1=; unset ac_configure_args1;}
2568 # When interrupted or exit'd, cleanup temporary files, and complete
2569 # config.log. We remove comments because anyway the quotes in there
2570 # would cause problems or look ugly.
2571 # WARNING: Use '\'' to represent an apostrophe within the trap.
2572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2573 trap 'exit_status=$?
2574 # Save into config.log some information that might help in debugging.
2579 ## ---------------- ##
2580 ## Cache variables. ##
2581 ## ---------------- ##
2584 # The following way of writing the cache mishandles newlines in values,
2586 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2587 eval ac_val=\$$ac_var
2591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2595 _ | IFS | as_nl) ;; #(
2596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2597 *) { eval $ac_var=; unset $ac_var;} ;;
2602 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2603 *${as_nl}ac_space=\ *)
2605 "s/'\''/'\''\\\\'\'''\''/g;
2606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2617 ## ----------------- ##
2618 ## Output variables. ##
2619 ## ----------------- ##
2622 for ac_var in $ac_subst_vars
2624 eval ac_val=\$$ac_var
2626 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628 $as_echo "$ac_var='\''$ac_val'\''"
2632 if test -n "$ac_subst_files"; then
2634 ## ------------------- ##
2635 ## File substitutions. ##
2636 ## ------------------- ##
2639 for ac_var in $ac_subst_files
2641 eval ac_val=\$$ac_var
2643 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 $as_echo "$ac_var='\''$ac_val'\''"
2650 if test -s confdefs.h; then
2660 test "$ac_signal" != 0 &&
2661 $as_echo "$as_me: caught signal $ac_signal"
2662 $as_echo "$as_me: exit $exit_status"
2664 rm -f core *.core core.conftest.* &&
2665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2668 for ac_signal in 1 2 13 15; do
2669 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2674 rm -f -r conftest* confdefs.h
2676 $as_echo "/* confdefs.h */" > confdefs.h
2678 # Predefined preprocessor variables.
2680 cat >>confdefs.h <<_ACEOF
2681 #define PACKAGE_NAME "$PACKAGE_NAME"
2684 cat >>confdefs.h <<_ACEOF
2685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2688 cat >>confdefs.h <<_ACEOF
2689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2692 cat >>confdefs.h <<_ACEOF
2693 #define PACKAGE_STRING "$PACKAGE_STRING"
2696 cat >>confdefs.h <<_ACEOF
2697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2700 cat >>confdefs.h <<_ACEOF
2701 #define PACKAGE_URL "$PACKAGE_URL"
2705 # Let the site file select an alternate cache file if it wants to.
2706 # Prefer an explicitly selected file to automatically selected ones.
2709 if test -n "$CONFIG_SITE"; then
2710 ac_site_file1=$CONFIG_SITE
2711 elif test "x$prefix" != xNONE; then
2712 ac_site_file1=$prefix/share/config.site
2713 ac_site_file2=$prefix/etc/config.site
2715 ac_site_file1=$ac_default_prefix/share/config.site
2716 ac_site_file2=$ac_default_prefix/etc/config.site
2718 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2720 test "x$ac_site_file" = xNONE && continue
2721 if test -r "$ac_site_file"; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2723 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2724 sed 's/^/| /' "$ac_site_file" >&5
2729 if test -r "$cache_file"; then
2730 # Some versions of bash will fail to source /dev/null (special
2731 # files actually), so we avoid doing that.
2732 if test -f "$cache_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2734 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2737 *) . "./$cache_file";;
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2742 $as_echo "$as_me: creating cache $cache_file" >&6;}
2746 # Check that the precious variables saved in the cache have kept the same
2748 ac_cache_corrupted=false
2749 for ac_var in $ac_precious_vars; do
2750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2751 eval ac_new_set=\$ac_env_${ac_var}_set
2752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2753 eval ac_new_val=\$ac_env_${ac_var}_value
2754 case $ac_old_set,$ac_new_set in
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2757 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2758 ac_cache_corrupted=: ;;
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2761 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2762 ac_cache_corrupted=: ;;
2765 if test "x$ac_old_val" != "x$ac_new_val"; then
2766 # differences in whitespace do not lead to failure.
2767 ac_old_val_w=`echo x $ac_old_val`
2768 ac_new_val_w=`echo x $ac_new_val`
2769 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2771 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2772 ac_cache_corrupted=:
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2775 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2776 eval $ac_var=\$ac_old_val
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2779 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2781 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2784 # Pass precious variables to config.status.
2785 if test "$ac_new_set" = set; then
2787 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2788 *) ac_arg=$ac_var=$ac_new_val ;;
2790 case " $ac_configure_args " in
2791 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2792 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2796 if $ac_cache_corrupted; then
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2800 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2801 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2803 ## -------------------- ##
2804 ## Main body of script. ##
2805 ## -------------------- ##
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 ac_config_headers="$ac_config_headers config.h"
2821 # This works around the fact that libtool configuration may change LD
2822 # for this particular configuration, but some shells, instead of
2823 # keeping the changes in LD private, export them just because LD is
2824 # exported. Only used at the end of this file.
2825 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2827 # For libtool versioning info, format is CURRENT:REVISION:AGE
2828 libtool_VERSION=6:16:0
2831 # Find the rest of the source tree framework.
2832 # Default to --enable-multilib
2833 # Check whether --enable-multilib was given.
2834 if test "${enable_multilib+set}" = set; then :
2835 enableval=$enable_multilib; case "$enableval" in
2836 yes) multilib=yes ;;
2838 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2845 # We may get other options which we leave undocumented:
2846 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2847 # See config-ml.in if you want the gory details.
2849 if test "$srcdir" = "."; then
2850 if test "$with_target_subdir" != "."; then
2851 multi_basedir="$srcdir/$with_multisrctop../.."
2853 multi_basedir="$srcdir/$with_multisrctop.."
2856 multi_basedir="$srcdir/.."
2860 # Even if the default multilib is not a cross compilation,
2861 # it may be that some of the other multilibs are.
2862 if test $cross_compiling = no && test $multilib = yes \
2863 && test "x${with_multisubdir}" != x ; then
2864 cross_compiling=maybe
2867 ac_config_commands="$ac_config_commands default-1"
2870 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2872 # You will slowly go insane if you do not grok the following fact: when
2873 # building v3 as part of the compiler, the top-level /target/ becomes the
2874 # library's /host/. configure then causes --target to default to --host,
2875 # exactly like any other package using autoconf. Therefore, 'target' and
2876 # 'host' will always be the same. This makes sense both for native and
2877 # cross compilers, just think about it for a little while. :-)
2879 # Also, if v3 is being configured as part of a cross compiler, the top-level
2880 # configure script will pass the "real" host as $with_cross_host.
2882 # Do not delete or change the following two lines. For why, see
2883 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2885 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2886 for ac_t in install-sh install.sh shtool; do
2887 if test -f "$ac_dir/$ac_t"; then
2889 ac_install_sh="$ac_aux_dir/$ac_t -c"
2894 if test -z "$ac_aux_dir"; then
2895 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2898 # These three variables are undocumented and unsupported,
2899 # and are intended to be withdrawn in a future Autoconf release.
2900 # They can cause serious problems if a builder's source tree is in a directory
2901 # whose full name contains unusual characters.
2902 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2903 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2904 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2907 # Make sure we can run config.sub.
2908 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2909 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2912 $as_echo_n "checking build system type... " >&6; }
2913 if test "${ac_cv_build+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2916 ac_build_alias=$build_alias
2917 test "x$ac_build_alias" = x &&
2918 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2919 test "x$ac_build_alias" = x &&
2920 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2921 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2922 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2926 $as_echo "$ac_cv_build" >&6; }
2927 case $ac_cv_build in
2929 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2932 ac_save_IFS=$IFS; IFS='-'
2938 # Remember, the first character of IFS is used to create $*,
2939 # except with old shells:
2942 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2946 $as_echo_n "checking host system type... " >&6; }
2947 if test "${ac_cv_host+set}" = set; then :
2948 $as_echo_n "(cached) " >&6
2950 if test "x$host_alias" = x; then
2951 ac_cv_host=$ac_cv_build
2953 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2954 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2959 $as_echo "$ac_cv_host" >&6; }
2962 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2965 ac_save_IFS=$IFS; IFS='-'
2971 # Remember, the first character of IFS is used to create $*,
2972 # except with old shells:
2975 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2979 $as_echo_n "checking target system type... " >&6; }
2980 if test "${ac_cv_target+set}" = set; then :
2981 $as_echo_n "(cached) " >&6
2983 if test "x$target_alias" = x; then
2984 ac_cv_target=$ac_cv_host
2986 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2987 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2992 $as_echo "$ac_cv_target" >&6; }
2993 case $ac_cv_target in
2995 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2997 target=$ac_cv_target
2998 ac_save_IFS=$IFS; IFS='-'
3004 # Remember, the first character of IFS is used to create $*,
3005 # except with old shells:
3008 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3011 # The aliases save the names the user supplied, while $host etc.
3012 # will get canonicalized.
3013 test -n "$target_alias" &&
3014 test "$program_prefix$program_suffix$program_transform_name" = \
3016 program_prefix=${target_alias}-
3018 target_alias=${target_alias-$host_alias}
3020 # Handy for debugging:
3021 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3023 if test "$build" != "$host"; then
3024 # We are being configured with some form of cross compiler.
3025 GLIBCXX_IS_NATIVE=false
3026 case "$host","$target" in
3027 # Darwin crosses can use the host system's libraries and headers,
3028 # because of the fat library support. Of course, it must be the
3029 # same version of Darwin on both sides. Allow the user to
3030 # just say --target=foo-darwin without a version number to mean
3031 # "the version on this system".
3032 *-*-darwin*,*-*-darwin*)
3033 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3034 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3035 if test $hostos = $targetos -o $targetos = darwin ; then
3036 GLIBCXX_IS_NATIVE=true
3045 GLIBCXX_IS_NATIVE=true
3048 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3049 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3050 # 1.x: minimum required version
3051 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3052 # of other PACKAGE_* variables will, however, and there's nothing
3053 # we can do about that; they come from AC_INIT).
3054 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3055 # file in the top srcdir, etc, etc), so stop complaining.
3056 # no-dependencies: turns off auto dependency generation (just for now)
3057 # no-dist: we don't want 'dist' and related rules.
3058 # -Wall: turns on all automake warnings...
3059 # -Wno-portability: ...except this one, since GNU make is now required.
3060 am__api_version='1.11'
3062 # Find a good install program. We prefer a C program (faster),
3063 # so one script is as good as another. But avoid the broken or
3064 # incompatible versions:
3065 # SysV /etc/install, /usr/sbin/install
3066 # SunOS /usr/etc/install
3067 # IRIX /sbin/install
3069 # AmigaOS /C/install, which installs bootblocks on floppy discs
3070 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3071 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3073 # OS/2's system install, which has a completely different semantic
3074 # ./install, which can be erroneously created by make from ./install.sh.
3075 # Reject install programs that cannot install multiple files.
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3077 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3078 if test -z "$INSTALL"; then
3079 if test "${ac_cv_path_install+set}" = set; then :
3080 $as_echo_n "(cached) " >&6
3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3086 test -z "$as_dir" && as_dir=.
3087 # Account for people who put trailing slashes in PATH elements.
3088 case $as_dir/ in #((
3089 ./ | .// | /[cC]/* | \
3090 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3091 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3094 # OSF1 and SCO ODT 3.0 have their own names for install.
3095 # Don't use installbsd from OSF since it installs stuff as root
3097 for ac_prog in ginstall scoinst install; do
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3100 if test $ac_prog = install &&
3101 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3102 # AIX install. It has an incompatible calling convention.
3104 elif test $ac_prog = install &&
3105 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3106 # program-specific install script used by HP pwplus--don't use.
3109 rm -rf conftest.one conftest.two conftest.dir
3110 echo one > conftest.one
3111 echo two > conftest.two
3113 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3114 test -s conftest.one && test -s conftest.two &&
3115 test -s conftest.dir/conftest.one &&
3116 test -s conftest.dir/conftest.two
3118 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3131 rm -rf conftest.one conftest.two conftest.dir
3134 if test "${ac_cv_path_install+set}" = set; then
3135 INSTALL=$ac_cv_path_install
3137 # As a last resort, use the slow shell script. Don't cache a
3138 # value for INSTALL within a source directory, because that will
3139 # break other packages using the cache if that directory is
3140 # removed, or if the value is a relative name.
3141 INSTALL=$ac_install_sh
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3145 $as_echo "$INSTALL" >&6; }
3147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3148 # It thinks the first close brace ends the variable substitution.
3149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3153 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3156 $as_echo_n "checking whether build environment is sane... " >&6; }
3159 echo timestamp > conftest.file
3160 # Reject unsafe characters in $srcdir or the absolute working directory
3161 # name. Accept space and tab only in the latter.
3165 *[\\\"\#\$\&\'\`$am_lf]*)
3166 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3169 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3170 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3173 # Do `set' in a subshell so we don't clobber the current shell's
3174 # arguments. Must try -L first in case configure is actually a
3175 # symlink; some systems play weird games with the mod time of symlinks
3176 # (eg FreeBSD returns the mod time of the symlink's containing
3179 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3180 if test "$*" = "X"; then
3182 set X `ls -t "$srcdir/configure" conftest.file`
3185 if test "$*" != "X $srcdir/configure conftest.file" \
3186 && test "$*" != "X conftest.file $srcdir/configure"; then
3188 # If neither matched, then we have a broken ls. This can happen
3189 # if, for instance, CONFIG_SHELL is bash and it inherits a
3190 # broken ls alias from the environment. This has actually
3191 # happened. Such a system could not be considered "sane".
3192 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3193 alias in your environment" "$LINENO" 5
3196 test "$2" = conftest.file
3202 as_fn_error "newly created file is older than distributed files!
3203 Check your system clock" "$LINENO" 5
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3207 test "$program_prefix" != NONE &&
3208 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3209 # Use a double $ so make ignores it.
3210 test "$program_suffix" != NONE &&
3211 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3212 # Double any \ or $.
3213 # By default was `s,x,x', remove it if useless.
3214 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3215 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3217 # expand $ac_aux_dir to an absolute path
3218 am_aux_dir=`cd $ac_aux_dir && pwd`
3220 if test x"${MISSING+set}" != xset; then
3223 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3225 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3228 # Use eval to expand $SHELL
3229 if eval "$MISSING --run true"; then
3230 am_missing_run="$MISSING --run "
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3234 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3237 if test x"${install_sh}" != xset; then
3240 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3242 install_sh="\${SHELL} $am_aux_dir/install-sh"
3246 # Installed binaries are usually stripped using `strip' when the user
3247 # run `make install-strip'. However `strip' might not be the right
3248 # tool to use in cross-compilation environments, therefore Automake
3249 # will honor the `STRIP' environment variable to overrule this program.
3250 if test "$cross_compiling" != no; then
3251 if test -n "$ac_tool_prefix"; then
3252 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}strip; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if test "${ac_cv_prog_STRIP+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3259 if test -n "$STRIP"; then
3260 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279 STRIP=$ac_cv_prog_STRIP
3280 if test -n "$STRIP"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3282 $as_echo "$STRIP" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3290 if test -z "$ac_cv_prog_STRIP"; then
3292 # Extract the first word of "strip", so it can be a program name with args.
3293 set dummy strip; ac_word=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3297 $as_echo_n "(cached) " >&6
3299 if test -n "$ac_ct_STRIP"; then
3300 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir=.
3307 for ac_exec_ext in '' $ac_executable_extensions; do
3308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 ac_cv_prog_ac_ct_STRIP="strip"
3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3320 if test -n "$ac_ct_STRIP"; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3322 $as_echo "$ac_ct_STRIP" >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3328 if test "x$ac_ct_STRIP" = x; then
3331 case $cross_compiling:$ac_tool_warned in
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3340 STRIP="$ac_cv_prog_STRIP"
3344 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3347 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3348 if test -z "$MKDIR_P"; then
3349 if test "${ac_cv_path_mkdir+set}" = set; then :
3350 $as_echo_n "(cached) " >&6
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3356 test -z "$as_dir" && as_dir=.
3357 for ac_prog in mkdir gmkdir; do
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3360 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3361 'mkdir (GNU coreutils) '* | \
3362 'mkdir (coreutils) '* | \
3363 'mkdir (fileutils) '4.1*)
3364 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3374 if test "${ac_cv_path_mkdir+set}" = set; then
3375 MKDIR_P="$ac_cv_path_mkdir -p"
3377 # As a last resort, use the slow shell script. Don't cache a
3378 # value for MKDIR_P within a source directory, because that will
3379 # break other packages using the cache if that directory is
3380 # removed, or if the value is a relative name.
3381 test -d ./--version && rmdir ./--version
3382 MKDIR_P="$ac_install_sh -d"
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3386 $as_echo "$MKDIR_P" >&6; }
3390 [\\/$]* | ?:[\\/]*) ;;
3391 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3394 for ac_prog in gawk mawk nawk awk
3396 # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy $ac_prog; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_AWK+set}" = set; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$AWK"; then
3404 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 ac_cv_prog_AWK="$ac_prog"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 if test -n "$AWK"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3426 $as_echo "$AWK" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3433 test -n "$AWK" && break
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3437 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3439 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3440 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3441 $as_echo_n "(cached) " >&6
3443 cat >conftest.make <<\_ACEOF
3446 @echo '@@@%%%=$(MAKE)=@@@%%%'
3448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3449 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3451 eval ac_cv_prog_make_${ac_make}_set=yes;;
3453 eval ac_cv_prog_make_${ac_make}_set=no;;
3457 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3459 $as_echo "yes" >&6; }
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3464 SET_MAKE="MAKE=${MAKE-make}"
3467 rm -rf .tst 2>/dev/null
3468 mkdir .tst 2>/dev/null
3469 if test -d .tst; then
3474 rmdir .tst 2>/dev/null
3476 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3477 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3478 # is not polluted with repeated "-I."
3479 am__isrc=' -I$(srcdir)'
3480 # test to see if srcdir already configured
3481 if test -f $srcdir/config.status; then
3482 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3486 # test whether we have cygpath
3487 if test -z "$CYGPATH_W"; then
3488 if (cygpath --version) >/dev/null 2>/dev/null; then
3489 CYGPATH_W='cygpath -w'
3496 # Define the identity of the package.
3498 VERSION='version-unused'
3501 # Some tools Automake needs.
3503 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3506 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3509 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3512 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3515 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3517 # We need awk for the "check" target. The system "awk" is bad on
3519 # Always define AMTAR for backward compatibility.
3521 AMTAR=${AMTAR-"${am_missing_run}tar"}
3523 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3532 # -fno-builtin must be present here so that a non-conflicting form of
3533 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3535 save_CXXFLAGS="$CXXFLAGS"
3536 CXXFLAGS="$CXXFLAGS -fno-builtin"
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 if test -n "$ac_tool_prefix"; then
3543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3544 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_CC+set}" = set; then :
3548 $as_echo_n "(cached) " >&6
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC="$CC" # Let the user override the test.
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 if test -n "$CC"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3581 if test -z "$ac_cv_prog_CC"; then
3583 # Extract the first word of "gcc", so it can be a program name with args.
3584 set dummy gcc; ac_word=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3588 $as_echo_n "(cached) " >&6
3590 if test -n "$ac_ct_CC"; then
3591 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600 ac_cv_prog_ac_ct_CC="gcc"
3601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3611 if test -n "$ac_ct_CC"; then
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3613 $as_echo "$ac_ct_CC" >&6; }
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3619 if test "x$ac_ct_CC" = x; then
3622 case $cross_compiling:$ac_tool_warned in
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626 ac_tool_warned=yes ;;
3634 if test -z "$CC"; then
3635 if test -n "$ac_tool_prefix"; then
3636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}cc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then :
3641 $as_echo_n "(cached) " >&6
3643 if test -n "$CC"; then
3644 ac_cv_prog_CC="$CC" # Let the user override the test.
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 test -z "$as_dir" && as_dir=.
3651 for ac_exec_ext in '' $ac_executable_extensions; do
3652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653 ac_cv_prog_CC="${ac_tool_prefix}cc"
3654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3664 if test -n "$CC"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 # Extract the first word of "cc", so it can be a program name with args.
3677 set dummy cc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681 $as_echo_n "(cached) " >&6
3683 if test -n "$CC"; then
3684 ac_cv_prog_CC="$CC" # Let the user override the test.
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3695 ac_prog_rejected=yes
3699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test $ac_prog_rejected = yes; then
3707 # We found a bogon in the path, so make sure we never use it.
3708 set dummy $ac_cv_prog_CC
3710 if test $# != 0; then
3711 # We chose a different compiler from the bogus one.
3712 # However, it has the same basename, so the bogon will be chosen
3713 # first if we set CC to just the basename; use the full file name.
3715 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3731 if test -z "$CC"; then
3732 if test -n "$ac_tool_prefix"; then
3733 for ac_prog in cl.exe
3735 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 if test -n "$CC"; then
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3772 test -n "$CC" && break
3775 if test -z "$CC"; then
3777 for ac_prog in cl.exe
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy $ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$ac_ct_CC"; then
3787 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796 ac_cv_prog_ac_ct_CC="$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3807 if test -n "$ac_ct_CC"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3809 $as_echo "$ac_ct_CC" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$ac_ct_CC" && break
3819 if test "x$ac_ct_CC" = x; then
3822 case $cross_compiling:$ac_tool_warned in
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error "no acceptable C compiler found in \$PATH
3838 See \`config.log' for more details." "$LINENO" 5; }
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3844 for ac_option in --version -v -V -qversion; do
3845 { { ac_try="$ac_compiler $ac_option >&5"
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854 if test -s conftest.err; then
3856 ... rest of stderr output deleted ...
3857 10q' conftest.err >conftest.er1
3858 cat conftest.er1 >&5
3859 rm -f conftest.er1 conftest.err
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h. */
3877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3878 (eval $ac_link) 2>&5
3880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881 test $ac_status = 0; }; then :
3886 if test x$gcc_no_link = xyes; then
3887 # Setting cross_compile will disable run tests; it will
3888 # also disable AC_CHECK_FILE but that's generally
3889 # correct if we can't link.
3893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3904 ac_clean_files_save=$ac_clean_files
3905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3906 # Try to create an executable without -o first, disregard a.out.
3907 # It will help us diagnose broken compilers, and finding out an intuition
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3910 $as_echo_n "checking for C compiler default output file name... " >&6; }
3911 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3913 # The possible output files:
3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3917 for ac_file in $ac_files
3920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3921 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3926 if { { ac_try="$ac_link_default"
3928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929 *) ac_try_echo=$ac_try;;
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933 (eval "$ac_link_default") 2>&5
3935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936 test $ac_status = 0; }; then :
3937 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3939 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3940 # so that the user can short-circuit this test for compilers unknown to
3942 for ac_file in $ac_files ''
3944 test -f "$ac_file" || continue
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3949 # We found the default executable, but exeext='' is most
3953 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3955 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957 # We set ac_cv_exeext here because the later test for it is not
3958 # safe: cross compilers may not add the suffix if given an `-o'
3959 # argument, so we may need to know it at that point already.
3960 # Even if this section looks crufty: it has the advantage of
3967 test "$ac_cv_exeext" = no && ac_cv_exeext=
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 if test -z "$ac_file"; then :
3975 $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 { as_fn_set_status 77
3981 as_fn_error "C compiler cannot create executables
3982 See \`config.log' for more details." "$LINENO" 5; }; }
3984 ac_exeext=$ac_cv_exeext
3986 # Check that the compiler produces executables we can run. If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3989 $as_echo_n "checking whether the C compiler works... " >&6; }
3990 # If not cross compiling, check that we can run a simple program.
3991 if test "$cross_compiling" != yes; then
3992 if { ac_try='./$ac_file'
3993 { { case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999 (eval "$ac_try") 2>&5
4001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002 test $ac_status = 0; }; }; then
4005 if test "$cross_compiling" = maybe; then
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error "cannot run C compiled programs.
4011 If you meant to cross compile, use \`--host'.
4012 See \`config.log' for more details." "$LINENO" 5; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4019 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4020 ac_clean_files=$ac_clean_files_save
4021 # Check that the compiler produces executables we can run. If not, either
4022 # the compiler is broken, or we cross compile.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4024 $as_echo_n "checking whether we are cross compiling... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4026 $as_echo "$cross_compiling" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try="$ac_link"
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_link") 2>&5
4039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040 test $ac_status = 0; }; then :
4041 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4042 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe'), while it won't with
4045 for ac_file in conftest.exe conftest conftest.*; do
4046 test -f "$ac_file" || continue
4048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4049 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error "cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details." "$LINENO" 5; }
4060 rm -f conftest$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4064 rm -f conftest.$ac_ext
4065 EXEEXT=$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4069 $as_echo_n "checking for suffix of object files... " >&6; }
4070 if test "${ac_cv_objext+set}" = set; then :
4071 $as_echo_n "(cached) " >&6
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4084 rm -f conftest.o conftest.obj
4085 if { { ac_try="$ac_compile"
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_compile") 2>&5
4094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095 test $ac_status = 0; }; then :
4096 for ac_file in conftest.o conftest.obj conftest.*; do
4097 test -f "$ac_file" || continue;
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4100 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4105 $as_echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot compute suffix of object files: cannot compile
4111 See \`config.log' for more details." "$LINENO" 5; }
4113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4116 $as_echo "$ac_cv_objext" >&6; }
4117 OBJEXT=$ac_cv_objext
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4121 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4122 $as_echo_n "(cached) " >&6
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4138 if ac_fn_c_try_compile "$LINENO"; then :
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4148 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4149 if test $ac_compiler_gnu = yes; then
4154 ac_test_CFLAGS=${CFLAGS+set}
4155 ac_save_CFLAGS=$CFLAGS
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 if test "${ac_cv_prog_cc_g+set}" = set; then :
4159 $as_echo_n "(cached) " >&6
4161 ac_save_c_werror_flag=$ac_c_werror_flag
4162 ac_c_werror_flag=yes
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4176 if ac_fn_c_try_compile "$LINENO"; then :
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4191 if ac_fn_c_try_compile "$LINENO"; then :
4194 ac_c_werror_flag=$ac_save_c_werror_flag
4196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h. */
4207 if ac_fn_c_try_compile "$LINENO"; then :
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4218 $as_echo "$ac_cv_prog_cc_g" >&6; }
4219 if test "$ac_test_CFLAGS" = set; then
4220 CFLAGS=$ac_save_CFLAGS
4221 elif test $ac_cv_prog_cc_g = yes; then
4222 if test "$GCC" = yes; then
4228 if test "$GCC" = yes; then
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4236 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4239 ac_cv_prog_cc_c89=no
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4245 #include <sys/types.h>
4246 #include <sys/stat.h>
4247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4248 struct buf { int x; };
4249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4250 static char *e (p, i)
4256 static char *f (char * (*g) (char **, int), char **p, ...)
4261 s = g (p, va_arg (v,int));
4266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4267 function prototypes and stuff, but not '\xHH' hex character constants.
4268 These don't provoke an error unfortunately, instead are silently treated
4269 as 'x'. The following induces an error, until -std is added to get
4270 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4271 array size at least. It's necessary to write '\x00'==0 to get something
4272 that's true only with -std. */
4273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4276 inside strings and character constants. */
4278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280 int test (int i, double x);
4281 struct s1 {int (*f) (int a);};
4282 struct s2 {int (*f) (double a);};
4283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4289 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297 CC="$ac_save_CC $ac_arg"
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_c89=$ac_arg
4301 rm -f core conftest.err conftest.$ac_objext
4302 test "x$ac_cv_prog_cc_c89" != "xno" && break
4304 rm -f conftest.$ac_ext
4309 case "x$ac_cv_prog_cc_c89" in
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4312 $as_echo "none needed" >&6; } ;;
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4315 $as_echo "unsupported" >&6; } ;;
4317 CC="$CC $ac_cv_prog_cc_c89"
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4321 if test "x$ac_cv_prog_cc_c89" != xno; then :
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332 ac_cpp='$CXXCPP $CPPFLAGS'
4333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4336 if test -z "$CXX"; then
4337 if test -n "$CCC"; then
4340 if test -n "$ac_tool_prefix"; then
4341 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if test "${ac_cv_prog_CXX+set}" = set; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$CXX"; then
4351 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4371 if test -n "$CXX"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4373 $as_echo "$CXX" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4380 test -n "$CXX" && break
4383 if test -z "$CXX"; then
4385 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4387 # Extract the first word of "$ac_prog", so it can be a program name with args.
4388 set dummy $ac_prog; ac_word=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 if test -n "$ac_ct_CXX"; then
4395 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir=.
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404 ac_cv_prog_ac_ct_CXX="$ac_prog"
4405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4415 if test -n "$ac_ct_CXX"; then
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4417 $as_echo "$ac_ct_CXX" >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4424 test -n "$ac_ct_CXX" && break
4427 if test "x$ac_ct_CXX" = x; then
4430 case $cross_compiling:$ac_tool_warned in
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4434 ac_tool_warned=yes ;;
4442 # Provide some information about the compiler.
4443 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4446 for ac_option in --version -v -V -qversion; do
4447 { { ac_try="$ac_compiler $ac_option >&5"
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4453 $as_echo "$ac_try_echo"; } >&5
4454 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4456 if test -s conftest.err; then
4458 ... rest of stderr output deleted ...
4459 10q' conftest.err >conftest.er1
4460 cat conftest.er1 >&5
4461 rm -f conftest.er1 conftest.err
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4468 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4469 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4470 $as_echo_n "(cached) " >&6
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4486 if ac_fn_cxx_try_compile "$LINENO"; then :
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4496 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4497 if test $ac_compiler_gnu = yes; then
4502 ac_test_CXXFLAGS=${CXXFLAGS+set}
4503 ac_save_CXXFLAGS=$CXXFLAGS
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4505 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4506 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4509 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4510 ac_cxx_werror_flag=yes
4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4524 if ac_fn_cxx_try_compile "$LINENO"; then :
4525 ac_cv_prog_cxx_g=yes
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4539 if ac_fn_cxx_try_compile "$LINENO"; then :
4542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h. */
4555 if ac_fn_cxx_try_compile "$LINENO"; then :
4556 ac_cv_prog_cxx_g=yes
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4566 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4567 if test "$ac_test_CXXFLAGS" = set; then
4568 CXXFLAGS=$ac_save_CXXFLAGS
4569 elif test $ac_cv_prog_cxx_g = yes; then
4570 if test "$GXX" = yes; then
4576 if test "$GXX" = yes; then
4583 ac_cpp='$CPP $CPPFLAGS'
4584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588 CXXFLAGS="$save_CXXFLAGS"
4590 # Runs configure.host, and assorted other critical bits. Sets
4591 # up critical shell variables.
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4599 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4600 # On Suns, sometimes $CPP names a directory.
4601 if test -n "$CPP" && test -d "$CPP"; then
4604 if test -z "$CPP"; then
4605 if test "${ac_cv_prog_CPP+set}" = set; then :
4606 $as_echo_n "(cached) " >&6
4608 # Double quotes because CPP needs to be expanded
4609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4612 for ac_c_preproc_warn_flag in '' yes
4614 # Use a header file that comes with gcc, so configuring glibc
4615 # with a fresh cross-compiler works.
4616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4617 # <limits.h> exists even on freestanding compilers.
4618 # On the NeXT, cc -E runs the code through the compiler's parser,
4619 # not just through cpp. "Syntax error" is here to catch this case.
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4623 # include <limits.h>
4625 # include <assert.h>
4629 if ac_fn_c_try_cpp "$LINENO"; then :
4632 # Broken: fails on valid input.
4635 rm -f conftest.err conftest.$ac_ext
4637 # OK, works on sane cases. Now check whether nonexistent headers
4638 # can be detected and how.
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4641 #include <ac_nonexistent.h>
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644 # Broken: success on invalid input.
4647 # Passes both tests.
4651 rm -f conftest.err conftest.$ac_ext
4654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4655 rm -f conftest.err conftest.$ac_ext
4656 if $ac_preproc_ok; then :
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4669 $as_echo "$CPP" >&6; }
4671 for ac_c_preproc_warn_flag in '' yes
4673 # Use a header file that comes with gcc, so configuring glibc
4674 # with a fresh cross-compiler works.
4675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4676 # <limits.h> exists even on freestanding compilers.
4677 # On the NeXT, cc -E runs the code through the compiler's parser,
4678 # not just through cpp. "Syntax error" is here to catch this case.
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4682 # include <limits.h>
4684 # include <assert.h>
4688 if ac_fn_c_try_cpp "$LINENO"; then :
4691 # Broken: fails on valid input.
4694 rm -f conftest.err conftest.$ac_ext
4696 # OK, works on sane cases. Now check whether nonexistent headers
4697 # can be detected and how.
4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4700 #include <ac_nonexistent.h>
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703 # Broken: success on invalid input.
4706 # Passes both tests.
4710 rm -f conftest.err conftest.$ac_ext
4713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4714 rm -f conftest.err conftest.$ac_ext
4715 if $ac_preproc_ok; then :
4718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4720 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4721 See \`config.log' for more details." "$LINENO" 5; }
4725 ac_cpp='$CPP $CPPFLAGS'
4726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4732 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4733 if test "${ac_cv_path_GREP+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -z "$GREP"; then
4737 ac_path_GREP_found=false
4738 # Loop through the user's path and test for each of PROGNAME-LIST
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4743 test -z "$as_dir" && as_dir=.
4744 for ac_prog in grep ggrep; do
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4747 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4748 # Check for GNU ac_path_GREP and select it if it is found.
4749 # Check for GNU $ac_path_GREP
4750 case `"$ac_path_GREP" --version 2>&1` in
4752 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4755 $as_echo_n 0123456789 >"conftest.in"
4758 cat "conftest.in" "conftest.in" >"conftest.tmp"
4759 mv "conftest.tmp" "conftest.in"
4760 cp "conftest.in" "conftest.nl"
4761 $as_echo 'GREP' >> "conftest.nl"
4762 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4764 as_fn_arith $ac_count + 1 && ac_count=$as_val
4765 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4766 # Best one so far, save it but keep looking for a better one
4767 ac_cv_path_GREP="$ac_path_GREP"
4768 ac_path_GREP_max=$ac_count
4770 # 10*(2^10) chars as input seems more than enough
4771 test $ac_count -gt 10 && break
4773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4776 $ac_path_GREP_found && break 3
4781 if test -z "$ac_cv_path_GREP"; then
4782 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4785 ac_cv_path_GREP=$GREP
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4790 $as_echo "$ac_cv_path_GREP" >&6; }
4791 GREP="$ac_cv_path_GREP"
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4795 $as_echo_n "checking for egrep... " >&6; }
4796 if test "${ac_cv_path_EGREP+set}" = set; then :
4797 $as_echo_n "(cached) " >&6
4799 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4800 then ac_cv_path_EGREP="$GREP -E"
4802 if test -z "$EGREP"; then
4803 ac_path_EGREP_found=false
4804 # Loop through the user's path and test for each of PROGNAME-LIST
4805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4809 test -z "$as_dir" && as_dir=.
4810 for ac_prog in egrep; do
4811 for ac_exec_ext in '' $ac_executable_extensions; do
4812 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4813 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4814 # Check for GNU ac_path_EGREP and select it if it is found.
4815 # Check for GNU $ac_path_EGREP
4816 case `"$ac_path_EGREP" --version 2>&1` in
4818 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4821 $as_echo_n 0123456789 >"conftest.in"
4824 cat "conftest.in" "conftest.in" >"conftest.tmp"
4825 mv "conftest.tmp" "conftest.in"
4826 cp "conftest.in" "conftest.nl"
4827 $as_echo 'EGREP' >> "conftest.nl"
4828 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4829 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4830 as_fn_arith $ac_count + 1 && ac_count=$as_val
4831 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4832 # Best one so far, save it but keep looking for a better one
4833 ac_cv_path_EGREP="$ac_path_EGREP"
4834 ac_path_EGREP_max=$ac_count
4836 # 10*(2^10) chars as input seems more than enough
4837 test $ac_count -gt 10 && break
4839 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4842 $ac_path_EGREP_found && break 3
4847 if test -z "$ac_cv_path_EGREP"; then
4848 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4851 ac_cv_path_EGREP=$EGREP
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4857 $as_echo "$ac_cv_path_EGREP" >&6; }
4858 EGREP="$ac_cv_path_EGREP"
4862 # Keep these sync'd with the list in Makefile.am. The first provides an
4863 # expandable list at autoconf time; the second provides an expandable list
4864 # (i.e., shell variable) at configure time.
4866 SUBDIRS='include libsupc++ python src doc po testsuite'
4868 # These need to be absolute paths, yet at the same time need to
4869 # canonicalize only relative paths, because then amd will not unmount
4870 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4871 glibcxx_builddir=`${PWDCMD-pwd}`
4873 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4874 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4876 toplevel_srcdir=${glibcxx_srcdir}/..
4881 # We use these options to decide which functions to include. They are
4882 # set from the top level.
4884 # Check whether --with-target-subdir was given.
4885 if test "${with_target_subdir+set}" = set; then :
4886 withval=$with_target_subdir;
4891 # Check whether --with-cross-host was given.
4892 if test "${with_cross_host+set}" = set; then :
4893 withval=$with_cross_host;
4898 # Check whether --with-newlib was given.
4899 if test "${with_newlib+set}" = set; then :
4900 withval=$with_newlib;
4904 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4905 # available). Uncomment the next line to force a particular method.
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4907 $as_echo_n "checking whether ln -s works... " >&6; }
4909 if test "$LN_S" = "ln -s"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4914 $as_echo "no, using $LN_S" >&6; }
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}as; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_AS+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$AS"; then
4928 ac_cv_prog_AS="$AS" # Let the user override the test.
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_AS="${ac_tool_prefix}as"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 if test -n "$AS"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4950 $as_echo "$AS" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4958 if test -z "$ac_cv_prog_AS"; then
4960 # Extract the first word of "as", so it can be a program name with args.
4961 set dummy as; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -n "$ac_ct_AS"; then
4968 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_AS="as"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4988 if test -n "$ac_ct_AS"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4990 $as_echo "$ac_ct_AS" >&6; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4996 if test "x$ac_ct_AS" = x; then
4999 case $cross_compiling:$ac_tool_warned in
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5011 if test -n "$ac_tool_prefix"; then
5012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5013 set dummy ${ac_tool_prefix}ar; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_AR+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5019 if test -n "$AR"; then
5020 ac_cv_prog_AR="$AR" # Let the user override the test.
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_AR="${ac_tool_prefix}ar"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 if test -n "$AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5050 if test -z "$ac_cv_prog_AR"; then
5052 # Extract the first word of "ar", so it can be a program name with args.
5053 set dummy ar; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5059 if test -n "$ac_ct_AR"; then
5060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_ac_ct_AR="ar"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5088 if test "x$ac_ct_AR" = x; then
5091 case $cross_compiling:$ac_tool_warned in
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5105 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$RANLIB"; then
5112 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5121 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 RANLIB=$ac_cv_prog_RANLIB
5132 if test -n "$RANLIB"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5134 $as_echo "$RANLIB" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5142 if test -z "$ac_cv_prog_RANLIB"; then
5143 ac_ct_RANLIB=$RANLIB
5144 # Extract the first word of "ranlib", so it can be a program name with args.
5145 set dummy ranlib; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5149 $as_echo_n "(cached) " >&6
5151 if test -n "$ac_ct_RANLIB"; then
5152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_RANLIB="ranlib"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5172 if test -n "$ac_ct_RANLIB"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5174 $as_echo "$ac_ct_RANLIB" >&6; }
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5180 if test "x$ac_ct_RANLIB" = x; then
5181 RANLIB="ranlib-not-found-in-path-error"
5183 case $cross_compiling:$ac_tool_warned in
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned=yes ;;
5189 RANLIB=$ac_ct_RANLIB
5192 RANLIB="$ac_cv_prog_RANLIB"
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5198 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5199 # Check whether --enable-maintainer-mode was given.
5200 if test "${enable_maintainer_mode+set}" = set; then :
5201 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5203 USE_MAINTAINER_MODE=no
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5207 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5208 if test $USE_MAINTAINER_MODE = yes; then
5209 MAINTAINER_MODE_TRUE=
5210 MAINTAINER_MODE_FALSE='#'
5212 MAINTAINER_MODE_TRUE='#'
5213 MAINTAINER_MODE_FALSE=
5216 MAINT=$MAINTAINER_MODE_TRUE
5220 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5221 # which are themselves conditionally expanded.
5222 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5223 ## other macros from doing the same. This should be automated.) -pme
5225 # Check for C library flavor since Linux platforms use different configuration
5226 # directories depending on the C library in use.
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5237 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5263 # Find platform-specific directories containing configuration info.
5264 # Also possibly modify flags used elsewhere, as needed by the platform.
5266 . $glibcxx_srcdir/configure.host
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5268 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5270 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5274 if test "x${with_newlib}" != "xyes"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5283 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5288 macro_version='2.2.7a'
5289 macro_revision='1.3134'
5303 ltmain="$ac_aux_dir/ltmain.sh"
5305 # Backslashify metacharacters that are still active within
5306 # double-quoted strings.
5307 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5309 # Same as above, but do not quote variable references.
5310 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5312 # Sed substitution to delay expansion of an escaped shell variable in a
5313 # double_quote_subst'ed string.
5314 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5316 # Sed substitution to delay expansion of an escaped single quote.
5317 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5319 # Sed substitution to avoid accidental globbing in evaled expressions
5320 no_glob_subst='s/\*/\\\*/g'
5322 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5327 $as_echo_n "checking how to print strings... " >&6; }
5328 # Test print first, because it will be a builtin if present.
5329 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5330 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5332 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5335 # Use this function as a fallback that always works.
5336 func_fallback_echo ()
5338 eval 'cat <<_LTECHO_EOF
5342 ECHO='func_fallback_echo'
5345 # func_echo_all arg...
5346 # Invoke $ECHO with all args, space-separated.
5353 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5354 $as_echo "printf" >&6; } ;;
5355 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5356 $as_echo "print -r" >&6; } ;;
5357 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5358 $as_echo "cat" >&6; } ;;
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5375 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5376 if test "${ac_cv_path_SED+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5379 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5380 for ac_i in 1 2 3 4 5 6 7; do
5381 ac_script="$ac_script$as_nl$ac_script"
5383 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5384 { ac_script=; unset ac_script;}
5385 if test -z "$SED"; then
5386 ac_path_SED_found=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5392 test -z "$as_dir" && as_dir=.
5393 for ac_prog in sed gsed; do
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5396 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5397 # Check for GNU ac_path_SED and select it if it is found.
5398 # Check for GNU $ac_path_SED
5399 case `"$ac_path_SED" --version 2>&1` in
5401 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5404 $as_echo_n 0123456789 >"conftest.in"
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 $as_echo '' >> "conftest.nl"
5411 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413 as_fn_arith $ac_count + 1 && ac_count=$as_val
5414 if test $ac_count -gt ${ac_path_SED_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_SED="$ac_path_SED"
5417 ac_path_SED_max=$ac_count
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5425 $ac_path_SED_found && break 3
5430 if test -z "$ac_cv_path_SED"; then
5431 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5439 $as_echo "$ac_cv_path_SED" >&6; }
5440 SED="$ac_cv_path_SED"
5443 test -z "$SED" && SED=sed
5444 Xsed="$SED -e 1s/^X//"
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5457 $as_echo_n "checking for fgrep... " >&6; }
5458 if test "${ac_cv_path_FGREP+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5461 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5462 then ac_cv_path_FGREP="$GREP -F"
5464 if test -z "$FGREP"; then
5465 ac_path_FGREP_found=false
5466 # Loop through the user's path and test for each of PROGNAME-LIST
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5471 test -z "$as_dir" && as_dir=.
5472 for ac_prog in fgrep; do
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5475 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5476 # Check for GNU ac_path_FGREP and select it if it is found.
5477 # Check for GNU $ac_path_FGREP
5478 case `"$ac_path_FGREP" --version 2>&1` in
5480 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5483 $as_echo_n 0123456789 >"conftest.in"
5486 cat "conftest.in" "conftest.in" >"conftest.tmp"
5487 mv "conftest.tmp" "conftest.in"
5488 cp "conftest.in" "conftest.nl"
5489 $as_echo 'FGREP' >> "conftest.nl"
5490 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5492 as_fn_arith $ac_count + 1 && ac_count=$as_val
5493 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5494 # Best one so far, save it but keep looking for a better one
5495 ac_cv_path_FGREP="$ac_path_FGREP"
5496 ac_path_FGREP_max=$ac_count
5498 # 10*(2^10) chars as input seems more than enough
5499 test $ac_count -gt 10 && break
5501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5504 $ac_path_FGREP_found && break 3
5509 if test -z "$ac_cv_path_FGREP"; then
5510 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5513 ac_cv_path_FGREP=$FGREP
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5519 $as_echo "$ac_cv_path_FGREP" >&6; }
5520 FGREP="$ac_cv_path_FGREP"
5523 test -z "$GREP" && GREP=grep
5543 # Check whether --with-gnu-ld was given.
5544 if test "${with_gnu_ld+set}" = set; then :
5545 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5551 if test "$GCC" = yes; then
5552 # Check if gcc -print-prog-name=ld gives a path.
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5554 $as_echo_n "checking for ld used by $CC... " >&6; }
5557 # gcc leaves a trailing carriage return which upsets mingw
5558 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5560 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5563 # Accept absolute paths.
5565 re_direlt='/[^/][^/]*/\.\./'
5566 # Canonicalize the pathname of ld
5567 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5568 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5569 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5571 test -z "$LD" && LD="$ac_prog"
5574 # If it fails, then pretend we aren't using GCC.
5578 # If it is relative, then search for the first ld in PATH.
5582 elif test "$with_gnu_ld" = yes; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5584 $as_echo_n "checking for GNU ld... " >&6; }
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5587 $as_echo_n "checking for non-GNU ld... " >&6; }
5589 if test "${lt_cv_path_LD+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5592 if test -z "$LD"; then
5593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5594 for ac_dir in $PATH; do
5596 test -z "$ac_dir" && ac_dir=.
5597 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5598 lt_cv_path_LD="$ac_dir/$ac_prog"
5599 # Check to see if the program is GNU ld. I'd rather use --version,
5600 # but apparently some variants of GNU ld only accept -v.
5601 # Break only if it was the GNU/non-GNU ld that we prefer.
5602 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5603 *GNU* | *'with BFD'*)
5604 test "$with_gnu_ld" != no && break
5607 test "$with_gnu_ld" != yes && break
5614 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5619 if test -n "$LD"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5621 $as_echo "$LD" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5626 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5629 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5632 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5633 case `$LD -v 2>&1 </dev/null` in
5634 *GNU* | *'with BFD'*)
5635 lt_cv_prog_gnu_ld=yes
5638 lt_cv_prog_gnu_ld=no
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5643 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5644 with_gnu_ld=$lt_cv_prog_gnu_ld
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5655 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5656 if test "${lt_cv_path_NM+set}" = set; then :
5657 $as_echo_n "(cached) " >&6
5659 if test -n "$NM"; then
5660 # Let the user override the test.
5663 lt_nm_to_check="${ac_tool_prefix}nm"
5664 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5665 lt_nm_to_check="$lt_nm_to_check nm"
5667 for lt_tmp_nm in $lt_nm_to_check; do
5668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5669 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5671 test -z "$ac_dir" && ac_dir=.
5672 tmp_nm="$ac_dir/$lt_tmp_nm"
5673 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5674 # Check to see if the nm accepts a BSD-compat flag.
5675 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5676 # nm: unknown option "B" ignored
5677 # Tru64's nm complains that /dev/null is an invalid object file
5678 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5679 */dev/null* | *'Invalid file or object type'*)
5680 lt_cv_path_NM="$tmp_nm -B"
5684 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5686 lt_cv_path_NM="$tmp_nm -p"
5690 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5691 continue # so that we can try to find one that supports BSD flags
5700 : ${lt_cv_path_NM=no}
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5704 $as_echo "$lt_cv_path_NM" >&6; }
5705 if test "$lt_cv_path_NM" != "no"; then
5708 # Didn't find any BSD compatible name lister, look for dumpbin.
5709 if test -n "$DUMPBIN"; then :
5710 # Let the user override the test.
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in dumpbin "link -dump"
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$DUMPBIN"; then
5723 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742 DUMPBIN=$ac_cv_prog_DUMPBIN
5743 if test -n "$DUMPBIN"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5745 $as_echo "$DUMPBIN" >&6; }
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5752 test -n "$DUMPBIN" && break
5755 if test -z "$DUMPBIN"; then
5756 ac_ct_DUMPBIN=$DUMPBIN
5757 for ac_prog in dumpbin "link -dump"
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5764 $as_echo_n "(cached) " >&6
5766 if test -n "$ac_ct_DUMPBIN"; then
5767 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5787 if test -n "$ac_ct_DUMPBIN"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5789 $as_echo "$ac_ct_DUMPBIN" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 test -n "$ac_ct_DUMPBIN" && break
5799 if test "x$ac_ct_DUMPBIN" = x; then
5802 case $cross_compiling:$ac_tool_warned in
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5808 DUMPBIN=$ac_ct_DUMPBIN
5812 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5814 DUMPBIN="$DUMPBIN -symbols"
5822 if test "$DUMPBIN" != ":"; then
5826 test -z "$NM" && NM=nm
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5834 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5835 if test "${lt_cv_nm_interface+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5838 lt_cv_nm_interface="BSD nm"
5839 echo "int some_variable = 0;" > conftest.$ac_ext
5840 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5841 (eval "$ac_compile" 2>conftest.err)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5844 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5845 cat conftest.err >&5
5846 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5847 cat conftest.out >&5
5848 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5849 lt_cv_nm_interface="MS dumpbin"
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5854 $as_echo "$lt_cv_nm_interface" >&6; }
5856 # find the maximum length of command line arguments
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5859 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5867 # On DJGPP, this test can blow up pretty badly due to problems in libc
5868 # (any single argument exceeding 2000 bytes causes a buffer overrun
5869 # during glob expansion). Even if it were fixed, the result of this
5870 # check would be larger than it should be.
5871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5875 # Under GNU Hurd, this test is not required because there is
5876 # no limit to the length of command line arguments.
5877 # Libtool will interpret -1 as no limit whatsoever
5878 lt_cv_sys_max_cmd_len=-1;
5881 cygwin* | mingw* | cegcc*)
5882 # On Win9x/ME, this test blows up -- it succeeds, but takes
5883 # about 5 minutes as the teststring grows exponentially.
5884 # Worse, since 9x/ME are not pre-emptively multitasking,
5885 # you end up with a "frozen" computer, even though with patience
5886 # the test eventually succeeds (with a max line length of 256k).
5887 # Instead, let's just punt: use the minimum linelength reported by
5888 # all of the supported platforms: 8192 (on NT/2K/XP).
5889 lt_cv_sys_max_cmd_len=8192;
5893 # On MiNT this can take a long time and run out of memory.
5894 lt_cv_sys_max_cmd_len=8192;
5898 # On AmigaOS with pdksh, this test takes hours, literally.
5899 # So we just punt and use a minimum line length of 8192.
5900 lt_cv_sys_max_cmd_len=8192;
5903 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5904 # This has been around since 386BSD, at least. Likely further.
5905 if test -x /sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5907 elif test -x /usr/sbin/sysctl; then
5908 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5910 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5912 # And add a safety zone
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5918 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5919 lt_cv_sys_max_cmd_len=196608
5923 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5924 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5925 # nice to cause kernel panics so lets avoid the loop below.
5926 # First set a reasonable default.
5927 lt_cv_sys_max_cmd_len=16384
5929 if test -x /sbin/sysconfig; then
5930 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5931 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5936 lt_cv_sys_max_cmd_len=102400
5938 sysv5* | sco5v6* | sysv4.2uw2*)
5939 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5940 if test -n "$kargmax"; then
5941 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5943 lt_cv_sys_max_cmd_len=32768
5947 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5948 if test -n "$lt_cv_sys_max_cmd_len"; then
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5952 # Make teststring a little bigger before we do anything with it.
5953 # a 1K string should be a reasonable start.
5954 for i in 1 2 3 4 5 6 7 8 ; do
5955 teststring=$teststring$teststring
5957 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5958 # If test is not a shell built-in, we'll probably end up computing a
5959 # maximum length that is only half of the actual maximum length, but
5961 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5962 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5963 test $i != 17 # 1/2 MB should be enough
5966 teststring=$teststring$teststring
5968 # Only check the string length outside the loop.
5969 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5971 # Add a significant safety factor because C++ compilers can tack on
5972 # massive amounts of additional arguments before passing them to the
5973 # linker. It appears as though 1/2 is a usable value.
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5981 if test -n $lt_cv_sys_max_cmd_len ; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5986 $as_echo "none" >&6; }
5988 max_cmd_len=$lt_cv_sys_max_cmd_len
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6001 # Try some XSI features
6004 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6006 && eval 'test $(( 1 + 1 )) -eq 2 \
6007 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6010 $as_echo "$xsi_shell" >&6; }
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6016 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6018 && lt_shell_append=yes
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6020 $as_echo "$lt_shell_append" >&6; }
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6033 # test EBCDIC or ASCII
6034 case `echo X|tr X '\101'` in
6035 A) # ASCII based system
6036 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6037 lt_SP2NL='tr \040 \012'
6038 lt_NL2SP='tr \015\012 \040\040'
6040 *) # EBCDIC based system
6041 lt_SP2NL='tr \100 \n'
6042 lt_NL2SP='tr \r\n \100\100'
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6055 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6056 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6057 $as_echo_n "(cached) " >&6
6059 lt_cv_ld_reload_flag='-r'
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6062 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6063 reload_flag=$lt_cv_ld_reload_flag
6064 case $reload_flag in
6066 *) reload_flag=" $reload_flag" ;;
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6071 if test "$GCC" = yes; then
6072 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6093 $as_echo_n "(cached) " >&6
6095 if test -n "$OBJDUMP"; then
6096 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 OBJDUMP=$ac_cv_prog_OBJDUMP
6116 if test -n "$OBJDUMP"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6118 $as_echo "$OBJDUMP" >&6; }
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6126 if test -z "$ac_cv_prog_OBJDUMP"; then
6127 ac_ct_OBJDUMP=$OBJDUMP
6128 # Extract the first word of "objdump", so it can be a program name with args.
6129 set dummy objdump; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6135 if test -n "$ac_ct_OBJDUMP"; then
6136 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6156 if test -n "$ac_ct_OBJDUMP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6158 $as_echo "$ac_ct_OBJDUMP" >&6; }
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6164 if test "x$ac_ct_OBJDUMP" = x; then
6167 case $cross_compiling:$ac_tool_warned in
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6173 OBJDUMP=$ac_ct_OBJDUMP
6176 OBJDUMP="$ac_cv_prog_OBJDUMP"
6179 test -z "$OBJDUMP" && OBJDUMP=objdump
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6194 lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6210 lt_cv_deplibs_check_method=pass_all
6214 lt_cv_deplibs_check_method=pass_all
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219 lt_cv_file_magic_cmd='/usr/bin/file -L'
6220 lt_cv_file_magic_test_file=/shlib/libc.so
6224 # func_win32_libid is a shell function defined in ltmain.sh
6225 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226 lt_cv_file_magic_cmd='func_win32_libid'
6230 # Base MSYS/MinGW do not provide the 'file' command needed by
6231 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232 # unless we find 'file', for example because we are cross-compiling.
6233 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6239 lt_cv_file_magic_cmd='$OBJDUMP -f'
6244 # use the weaker test based on 'objdump'. See mingw*.
6245 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6246 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 darwin* | rhapsody*)
6250 lt_cv_deplibs_check_method=pass_all
6253 freebsd* | dragonfly*)
6254 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6257 # Not sure whether the presence of OpenBSD here was a mistake.
6258 # Let's accept both of them until this is cleared up.
6259 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6260 lt_cv_file_magic_cmd=/usr/bin/file
6261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6265 lt_cv_deplibs_check_method=pass_all
6270 lt_cv_deplibs_check_method=pass_all
6274 lt_cv_deplibs_check_method=pass_all
6277 hpux10.20* | hpux11*)
6278 lt_cv_file_magic_cmd=/usr/bin/file
6281 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6282 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6285 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6286 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6289 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6290 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6296 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6300 irix5* | irix6* | nonstopux*)
6302 *-32|*"-32 ") libmagic=32-bit;;
6303 *-n32|*"-n32 ") libmagic=N32;;
6304 *-64|*"-64 ") libmagic=64-bit;;
6305 *) libmagic=never-match;;
6307 lt_cv_deplibs_check_method=pass_all
6310 # This must be Linux ELF.
6311 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6312 lt_cv_deplibs_check_method=pass_all
6316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6325 lt_cv_file_magic_cmd=/usr/bin/file
6326 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6330 lt_cv_deplibs_check_method=pass_all
6334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6341 osf3* | osf4* | osf5*)
6342 lt_cv_deplibs_check_method=pass_all
6346 lt_cv_deplibs_check_method=pass_all
6350 lt_cv_deplibs_check_method=pass_all
6353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6354 lt_cv_deplibs_check_method=pass_all
6358 case $host_vendor in
6360 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6364 lt_cv_deplibs_check_method=pass_all
6367 lt_cv_file_magic_cmd='/bin/file'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6371 lt_cv_file_magic_cmd='/bin/file'
6372 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6373 lt_cv_file_magic_test_file=/lib/libc.so
6376 lt_cv_deplibs_check_method=pass_all
6379 lt_cv_deplibs_check_method=pass_all
6385 lt_cv_deplibs_check_method=pass_all
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6391 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 file_magic_cmd=$lt_cv_file_magic_cmd
6393 deplibs_check_method=$lt_cv_deplibs_check_method
6394 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}ar; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_AR+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6415 if test -n "$AR"; then
6416 ac_cv_prog_AR="$AR" # Let the user override the test.
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_AR="${ac_tool_prefix}ar"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 if test -n "$AR"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6438 $as_echo "$AR" >&6; }
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6446 if test -z "$ac_cv_prog_AR"; then
6448 # Extract the first word of "ar", so it can be a program name with args.
6449 set dummy ar; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6455 if test -n "$ac_ct_AR"; then
6456 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_AR="ar"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6476 if test -n "$ac_ct_AR"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6478 $as_echo "$ac_ct_AR" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6484 if test "x$ac_ct_AR" = x; then
6487 case $cross_compiling:$ac_tool_warned in
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6499 test -z "$AR" && AR=ar
6500 test -z "$AR_FLAGS" && AR_FLAGS=cru
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}strip; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_STRIP+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6520 if test -n "$STRIP"; then
6521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 STRIP=$ac_cv_prog_STRIP
6541 if test -n "$STRIP"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6543 $as_echo "$STRIP" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_STRIP"; then
6553 # Extract the first word of "strip", so it can be a program name with args.
6554 set dummy strip; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6560 if test -n "$ac_ct_STRIP"; then
6561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_STRIP="strip"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6581 if test -n "$ac_ct_STRIP"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6583 $as_echo "$ac_ct_STRIP" >&6; }
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_STRIP" = x; then
6592 case $cross_compiling:$ac_tool_warned in
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6601 STRIP="$ac_cv_prog_STRIP"
6604 test -z "$STRIP" && STRIP=:
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6619 if test -n "$RANLIB"; then
6620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6639 RANLIB=$ac_cv_prog_RANLIB
6640 if test -n "$RANLIB"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6642 $as_echo "$RANLIB" >&6; }
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6650 if test -z "$ac_cv_prog_RANLIB"; then
6651 ac_ct_RANLIB=$RANLIB
6652 # Extract the first word of "ranlib", so it can be a program name with args.
6653 set dummy ranlib; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6659 if test -n "$ac_ct_RANLIB"; then
6660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_ac_ct_RANLIB="ranlib"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6680 if test -n "$ac_ct_RANLIB"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6682 $as_echo "$ac_ct_RANLIB" >&6; }
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6688 if test "x$ac_ct_RANLIB" = x; then
6691 case $cross_compiling:$ac_tool_warned in
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6697 RANLIB=$ac_ct_RANLIB
6700 RANLIB="$ac_cv_prog_RANLIB"
6703 test -z "$RANLIB" && RANLIB=:
6710 # Determine commands to create old-style static archives.
6711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6712 old_postinstall_cmds='chmod 644 $oldlib'
6713 old_postuninstall_cmds=
6715 if test -n "$RANLIB"; then
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6721 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6724 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6729 lock_old_archive_extraction=yes ;;
6731 lock_old_archive_extraction=no ;;
6772 # If no C compiler was specified, use CC.
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6778 # Allow CC to be a program name with arguments.
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6798 # Define system-specific variables.
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 symcode='[ABCDGISTW]'
6807 if test "$host_cpu" = ia64; then
6808 symcode='[ABCDEGRST]'
6812 symcode='[BCDEGRST]'
6815 symcode='[BCDEGQRST]'
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837 symcode='[ABCDGIRSTW]' ;;
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6847 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6849 # Handle CRLF in mingw tool chain
6853 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6860 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861 symxfrm="\\1 $ac_symprfx\\2 \\2"
6863 # Write the raw and C identifiers.
6864 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865 # Fake it for dumpbin and say T for any non-static function
6866 # and D for any global variable.
6867 # Also find C++ and __fastcall symbols from MSVC++,
6868 # which start with @ or ?.
6869 lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 " {last_section=section; section=\$ 3};"\
6871 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 " \$ 0!~/External *\|/{next};"\
6873 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 " {if(hide[section]) next};"\
6875 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 " ' prfx=^$ac_symprfx"
6881 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6884 # Check to see that the pipe works correctly.
6888 cat > conftest.$ac_ext <<_LT_EOF
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902 (eval $ac_compile) 2>&5
6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905 test $ac_status = 0; }; then
6906 # Now try to grab the symbols.
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6909 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; } && test -s "$nlist"; then
6913 # Try sorting and uniquifying the output.
6914 if sort "$nlist" | uniq > "$nlist"T; then
6915 mv -f "$nlist"T "$nlist"
6920 # Make sure that we snagged all the symbols we need.
6921 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923 cat <<_LT_EOF > conftest.$ac_ext
6929 # Now generate the symbol file.
6930 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6932 cat <<_LT_EOF >> conftest.$ac_ext
6934 /* The mapping between symbol names and symbols. */
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6941 { "@PROGRAM@", (void *) 0 },
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944 cat <<\_LT_EOF >> conftest.$ac_ext
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951 return lt__PROGRAM__LTX_preloaded_symbols;
6959 # Now try linking the two files.
6960 mv conftest.$ac_objext conftstm.$ac_objext
6961 lt_save_LIBS="$LIBS"
6962 lt_save_CFLAGS="$CFLAGS"
6963 LIBS="conftstm.$ac_objext"
6964 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966 (eval $ac_link) 2>&5
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6972 LIBS="$lt_save_LIBS"
6973 CFLAGS="$lt_save_CFLAGS"
6975 echo "cannot find nm_test_func in $nlist" >&5
6978 echo "cannot find nm_test_var in $nlist" >&5
6981 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6984 echo "$progname: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6987 rm -rf conftest* conftst*
6989 # Do not use the global_symbol_pipe unless it works.
6990 if test "$pipe_works" = yes; then
6993 lt_cv_sys_global_symbol_pipe=
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000 lt_cv_sys_global_symbol_to_cdecl=
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033 enableval=$enable_libtool_lock;
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7038 # Some flags need to be propagated to the compiler or linker for good
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.$ac_objext` in
7061 # Find out which ABI we are using.
7062 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064 (eval $ac_compile) 2>&5
7066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067 test $ac_status = 0; }; then
7068 if test "$lt_cv_prog_gnu_ld" = yes; then
7069 case `/usr/bin/file conftest.$ac_objext` in
7071 LD="${LD-ld} -melf32bsmip"
7074 LD="${LD-ld} -melf32bmipn32"
7077 LD="${LD-ld} -melf64bmip"
7081 case `/usr/bin/file conftest.$ac_objext` in
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099 # Find out which ABI we are using.
7100 echo 'int i;' > conftest.$ac_ext
7101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102 (eval $ac_compile) 2>&5
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; then
7106 case `/usr/bin/file conftest.o` in
7109 x86_64-*kfreebsd*-gnu)
7110 LD="${LD-ld} -m elf_i386_fbsd"
7113 LD="${LD-ld} -m elf_i386"
7115 ppc64-*linux*|powerpc64-*linux*)
7116 LD="${LD-ld} -m elf32ppclinux"
7119 LD="${LD-ld} -m elf_s390"
7122 LD="${LD-ld} -m elf32_sparc"
7128 x86_64-*kfreebsd*-gnu)
7129 LD="${LD-ld} -m elf_x86_64_fbsd"
7132 LD="${LD-ld} -m elf_x86_64"
7134 ppc*-*linux*|powerpc*-*linux*)
7135 LD="${LD-ld} -m elf64ppc"
7137 s390*-*linux*|s390*-*tpf*)
7138 LD="${LD-ld} -m elf64_s390"
7141 LD="${LD-ld} -m elf64_sparc"
7151 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152 SAVE_CFLAGS="$CFLAGS"
7153 CFLAGS="$CFLAGS -belf"
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 if test x$gcc_no_link = xyes; then
7166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7179 if ac_fn_c_try_link "$LINENO"; then :
7180 lt_cv_cc_needs_belf=yes
7182 lt_cv_cc_needs_belf=no
7184 rm -f core conftest.err conftest.$ac_objext \
7185 conftest$ac_exeext conftest.$ac_ext
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197 CFLAGS="$SAVE_CFLAGS"
7201 # Find out which ABI we are using.
7202 echo 'int i;' > conftest.$ac_ext
7203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204 (eval $ac_compile) 2>&5
7206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207 test $ac_status = 0; }; then
7208 case `/usr/bin/file conftest.o` in
7210 case $lt_cv_prog_gnu_ld in
7211 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7213 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7225 need_locks="$enable_libtool_lock"
7229 rhapsody* | darwin*)
7230 if test -n "$ac_tool_prefix"; then
7231 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7238 if test -n "$DSYMUTIL"; then
7239 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270 ac_ct_DSYMUTIL=$DSYMUTIL
7271 # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7278 if test -n "$ac_ct_DSYMUTIL"; then
7279 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7307 if test "x$ac_ct_DSYMUTIL" = x; then
7310 case $cross_compiling:$ac_tool_warned in
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7316 DSYMUTIL=$ac_ct_DSYMUTIL
7319 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7322 if test -n "$ac_tool_prefix"; then
7323 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328 $as_echo_n "(cached) " >&6
7330 if test -n "$NMEDIT"; then
7331 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362 ac_ct_NMEDIT=$NMEDIT
7363 # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7370 if test -n "$ac_ct_NMEDIT"; then
7371 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7399 if test "x$ac_ct_NMEDIT" = x; then
7402 case $cross_compiling:$ac_tool_warned in
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7408 NMEDIT=$ac_ct_NMEDIT
7411 NMEDIT="$ac_cv_prog_NMEDIT"
7414 if test -n "$ac_tool_prefix"; then
7415 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420 $as_echo_n "(cached) " >&6
7422 if test -n "$LIPO"; then
7423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7453 if test -z "$ac_cv_prog_LIPO"; then
7455 # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460 $as_echo_n "(cached) " >&6
7462 if test -n "$ac_ct_LIPO"; then
7463 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_prog_ac_ct_LIPO="lipo"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7491 if test "x$ac_ct_LIPO" = x; then
7494 case $cross_compiling:$ac_tool_warned in
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7503 LIPO="$ac_cv_prog_LIPO"
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7514 if test -n "$OTOOL"; then
7515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7545 if test -z "$ac_cv_prog_OTOOL"; then
7547 # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7554 if test -n "$ac_ct_OTOOL"; then
7555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_ac_ct_OTOOL="otool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 if test "x$ac_ct_OTOOL" = x; then
7586 case $cross_compiling:$ac_tool_warned in
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7595 OTOOL="$ac_cv_prog_OTOOL"
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7606 if test -n "$OTOOL64"; then
7607 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638 ac_ct_OTOOL64=$OTOOL64
7639 # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7646 if test -n "$ac_ct_OTOOL64"; then
7647 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_ac_ct_OTOOL64="otool64"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7675 if test "x$ac_ct_OTOOL64" = x; then
7678 case $cross_compiling:$ac_tool_warned in
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7684 OTOOL64=$ac_ct_OTOOL64
7687 OTOOL64="$ac_cv_prog_OTOOL64"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719 $as_echo_n "(cached) " >&6
7721 lt_cv_apple_cc_single_mod=no
7722 if test -z "${LT_MULTI_MODULE}"; then
7723 # By default we will add the -single_module flag. You can override
7724 # by either setting the environment variable LT_MULTI_MODULE
7725 # non-empty at configure time, or by adding -multi_module to the
7727 rm -rf libconftest.dylib*
7728 echo "int foo(void){return 1;}" > conftest.c
7729 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7734 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735 lt_cv_apple_cc_single_mod=yes
7737 cat conftest.err >&5
7739 rm -rf libconftest.dylib*
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7750 lt_cv_ld_exported_symbols_list=no
7751 save_LDFLAGS=$LDFLAGS
7752 echo "_main" > conftest.sym
7753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754 if test x$gcc_no_link = xyes; then
7755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7768 if ac_fn_c_try_link "$LINENO"; then :
7769 lt_cv_ld_exported_symbols_list=yes
7771 lt_cv_ld_exported_symbols_list=no
7773 rm -f core conftest.err conftest.$ac_objext \
7774 conftest$ac_exeext conftest.$ac_ext
7775 LDFLAGS="$save_LDFLAGS"
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7781 $as_echo_n "checking for -force_load linker flag... " >&6; }
7782 if test "${lt_cv_ld_force_load+set}" = set; then :
7783 $as_echo_n "(cached) " >&6
7785 lt_cv_ld_force_load=no
7786 cat > conftest.c << _LT_EOF
7787 int forced_loaded() { return 2;}
7789 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7790 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7791 echo "$AR cru libconftest.a conftest.o" >&5
7792 $AR cru libconftest.a conftest.o 2>&5
7793 cat > conftest.c << _LT_EOF
7794 int main() { return 0;}
7796 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7797 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7799 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7800 lt_cv_ld_force_load=yes
7802 cat conftest.err >&5
7804 rm -f conftest.err libconftest.a conftest conftest.c
7805 rm -rf conftest.dSYM
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7809 $as_echo "$lt_cv_ld_force_load" >&6; }
7811 rhapsody* | darwin1.[012])
7812 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7814 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7815 darwin*) # darwin 5.x on
7816 # if running on 10.5 or later, the deployment target defaults
7817 # to the OS version, if on x86, and 10.4, the deployment
7818 # target defaults to 10.4. Don't you love it?
7819 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7820 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7825 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7829 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7830 _lt_dar_single_mod='$single_module'
7832 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7833 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7835 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7837 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7838 _lt_dsymutil='~$DSYMUTIL $lib || :'
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7846 $as_echo_n "checking for ANSI C header files... " >&6; }
7847 if test "${ac_cv_header_stdc+set}" = set; then :
7848 $as_echo_n "(cached) " >&6
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7865 if ac_fn_c_try_compile "$LINENO"; then :
7866 ac_cv_header_stdc=yes
7868 ac_cv_header_stdc=no
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 if test $ac_cv_header_stdc = yes; then
7873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7880 $EGREP "memchr" >/dev/null 2>&1; then :
7883 ac_cv_header_stdc=no
7889 if test $ac_cv_header_stdc = yes; then
7890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7897 $EGREP "free" >/dev/null 2>&1; then :
7900 ac_cv_header_stdc=no
7906 if test $ac_cv_header_stdc = yes; then
7907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7908 if test "$cross_compiling" = yes; then :
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7915 #if ((' ' & 0x0FF) == 0x020)
7916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7919 # define ISLOWER(c) \
7920 (('a' <= (c) && (c) <= 'i') \
7921 || ('j' <= (c) && (c) <= 'r') \
7922 || ('s' <= (c) && (c) <= 'z'))
7923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7931 for (i = 0; i < 256; i++)
7932 if (XOR (islower (i), ISLOWER (i))
7933 || toupper (i) != TOUPPER (i))
7938 if ac_fn_c_try_run "$LINENO"; then :
7941 ac_cv_header_stdc=no
7943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7944 conftest.$ac_objext conftest.beam conftest.$ac_ext
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7950 $as_echo "$ac_cv_header_stdc" >&6; }
7951 if test $ac_cv_header_stdc = yes; then
7953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7958 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7959 inttypes.h stdint.h unistd.h
7961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7964 eval as_val=\$$as_ac_Header
7965 if test "x$as_val" = x""yes; then :
7966 cat >>confdefs.h <<_ACEOF
7967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7975 for ac_header in dlfcn.h
7977 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7979 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7980 cat >>confdefs.h <<_ACEOF
7981 #define HAVE_DLFCN_H 1
8001 # Check whether --enable-shared was given.
8002 if test "${enable_shared+set}" = set; then :
8003 enableval=$enable_shared; p=${PACKAGE-default}
8005 yes) enable_shared=yes ;;
8006 no) enable_shared=no ;;
8009 # Look at the argument we got. We use all the common list separators.
8010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011 for pkg in $enableval; do
8013 if test "X$pkg" = "X$p"; then
8032 # Check whether --enable-static was given.
8033 if test "${enable_static+set}" = set; then :
8034 enableval=$enable_static; p=${PACKAGE-default}
8036 yes) enable_static=yes ;;
8037 no) enable_static=no ;;
8040 # Look at the argument we got. We use all the common list separators.
8041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8042 for pkg in $enableval; do
8044 if test "X$pkg" = "X$p"; then
8064 # Check whether --with-pic was given.
8065 if test "${with_pic+set}" = set; then :
8066 withval=$with_pic; pic_mode="$withval"
8072 test -z "$pic_mode" && pic_mode=default
8080 # Check whether --enable-fast-install was given.
8081 if test "${enable_fast_install+set}" = set; then :
8082 enableval=$enable_fast_install; p=${PACKAGE-default}
8084 yes) enable_fast_install=yes ;;
8085 no) enable_fast_install=no ;;
8087 enable_fast_install=no
8088 # Look at the argument we got. We use all the common list separators.
8089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090 for pkg in $enableval; do
8092 if test "X$pkg" = "X$p"; then
8093 enable_fast_install=yes
8100 enable_fast_install=yes
8113 # This can be used to rebuild libtool when needed
8114 LIBTOOL_DEPS="$ltmain"
8116 # Always use our own libtool.
8117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8144 test -z "$LN_S" && LN_S="ln -s"
8159 if test -n "${ZSH_VERSION+set}" ; then
8160 setopt NO_GLOB_SUBST
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8164 $as_echo_n "checking for objdir... " >&6; }
8165 if test "${lt_cv_objdir+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8168 rm -f .libs 2>/dev/null
8169 mkdir .libs 2>/dev/null
8170 if test -d .libs; then
8173 # MS-DOS does not allow filenames that begin with a dot.
8176 rmdir .libs 2>/dev/null
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8179 $as_echo "$lt_cv_objdir" >&6; }
8180 objdir=$lt_cv_objdir
8186 cat >>confdefs.h <<_ACEOF
8187 #define LT_OBJDIR "$lt_cv_objdir/"
8195 # AIX sometimes has problems with the GCC collect2 program. For some
8196 # reason, if we set the COLLECT_NAMES environment variable, the problems
8197 # vanish in a puff of smoke.
8198 if test "X${COLLECT_NAMES+set}" != Xset; then
8200 export COLLECT_NAMES
8207 can_build_shared=yes
8209 # All known linkers require a `.a' archive for static linking (except MSVC,
8210 # which needs '.lib').
8213 with_gnu_ld="$lt_cv_prog_gnu_ld"
8216 old_CFLAGS="$CFLAGS"
8218 # Set sane defaults for various variables
8219 test -z "$CC" && CC=cc
8220 test -z "$LTCC" && LTCC=$CC
8221 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8222 test -z "$LD" && LD=ld
8223 test -z "$ac_objext" && ac_objext=o
8225 for cc_temp in $compiler""; do
8227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8233 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8236 # Only perform the check for file, if the check method requires it
8237 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8238 case $deplibs_check_method in
8240 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8251 lt_save_MAGIC_CMD="$MAGIC_CMD"
8252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8253 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8254 for ac_dir in $ac_dummy; do
8256 test -z "$ac_dir" && ac_dir=.
8257 if test -f $ac_dir/${ac_tool_prefix}file; then
8258 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8259 if test -n "$file_magic_test_file"; then
8260 case $deplibs_check_method in
8262 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8265 $EGREP "$file_magic_regex" > /dev/null; then
8270 *** Warning: the command libtool uses to detect shared libraries,
8271 *** $file_magic_cmd, produces output that libtool cannot recognize.
8272 *** The result is that libtool may fail to recognize shared libraries
8273 *** as such. This will affect the creation of libtool libraries that
8274 *** depend on shared libraries, but programs linked with such libtool
8275 *** libraries will work regardless of this problem. Nevertheless, you
8276 *** may want to report the problem to your system manager and/or to
8277 *** bug-libtool@gnu.org
8287 MAGIC_CMD="$lt_save_MAGIC_CMD"
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if test -n "$MAGIC_CMD"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8295 $as_echo "$MAGIC_CMD" >&6; }
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8305 if test -z "$lt_cv_path_MAGIC_CMD"; then
8306 if test -n "$ac_tool_prefix"; then
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8308 $as_echo_n "checking for file... " >&6; }
8309 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8314 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8317 lt_save_MAGIC_CMD="$MAGIC_CMD"
8318 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8319 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8320 for ac_dir in $ac_dummy; do
8322 test -z "$ac_dir" && ac_dir=.
8323 if test -f $ac_dir/file; then
8324 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8325 if test -n "$file_magic_test_file"; then
8326 case $deplibs_check_method in
8328 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8331 $EGREP "$file_magic_regex" > /dev/null; then
8336 *** Warning: the command libtool uses to detect shared libraries,
8337 *** $file_magic_cmd, produces output that libtool cannot recognize.
8338 *** The result is that libtool may fail to recognize shared libraries
8339 *** as such. This will affect the creation of libtool libraries that
8340 *** depend on shared libraries, but programs linked with such libtool
8341 *** libraries will work regardless of this problem. Nevertheless, you
8342 *** may want to report the problem to your system manager and/or to
8343 *** bug-libtool@gnu.org
8353 MAGIC_CMD="$lt_save_MAGIC_CMD"
8358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8359 if test -n "$MAGIC_CMD"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8361 $as_echo "$MAGIC_CMD" >&6; }
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8377 # Use C for the default configuration in the libtool script
8381 ac_cpp='$CPP $CPPFLAGS'
8382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8387 # Source file extension for C test sources.
8390 # Object file extension for compiled C test sources.
8394 # Code to be used in simple compile tests
8395 lt_simple_compile_test_code="int some_variable = 0;"
8397 # Code to be used in simple link tests
8398 lt_simple_link_test_code='int main(){return(0);}'
8406 # If no C compiler was specified, use CC.
8409 # If no C compiler flags were specified, use CFLAGS.
8410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8412 # Allow CC to be a program name with arguments.
8415 # Save the default compiler, since it gets overwritten when the other
8416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8417 compiler_DEFAULT=$CC
8419 # save warnings/boilerplate of simple test code
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_compiler_boilerplate=`cat conftest.err`
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8429 _lt_linker_boilerplate=`cat conftest.err`
8434 ## There is no encapsulation within the following macros, do not change
8435 ## the running order or otherwise move them around unless you know exactly
8436 ## what you are doing...
8437 if test -n "$compiler"; then
8439 lt_prog_compiler_no_builtin_flag=
8441 if test "$GCC" = yes; then
8442 case $cc_basename in
8444 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8446 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8451 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8454 lt_cv_prog_compiler_rtti_exceptions=no
8455 ac_outfile=conftest.$ac_objext
8456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457 lt_compiler_flag="-fno-rtti -fno-exceptions"
8458 # Insert the option either (1) after the last *FLAGS variable, or
8459 # (2) before a word containing "conftest.", or (3) at the end.
8460 # Note that $ac_compile itself does not contain backslashes and begins
8461 # with a dollar sign (not a hyphen), so the echo should work correctly.
8462 # The option is referenced via a variable to avoid confusing sed.
8463 lt_compile=`echo "$ac_compile" | $SED \
8464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466 -e 's:$: $lt_compiler_flag:'`
8467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8468 (eval "$lt_compile" 2>conftest.err)
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 if (exit $ac_status) && test -s "$ac_outfile"; then
8473 # The compiler can only warn and ignore the option if not recognized
8474 # So say no if there are warnings other than the usual output.
8475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8476 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8477 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8478 lt_cv_prog_compiler_rtti_exceptions=yes
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8487 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8488 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8500 lt_prog_compiler_wl=
8501 lt_prog_compiler_pic=
8502 lt_prog_compiler_static=
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8507 if test "$GCC" = yes; then
8508 lt_prog_compiler_wl='-Wl,'
8509 lt_prog_compiler_static='-static'
8513 # All AIX code is PIC.
8514 if test "$host_cpu" = ia64; then
8515 # AIX 5 now supports IA64 processor
8516 lt_prog_compiler_static='-Bstatic'
8523 # see comment about AmigaOS4 .so support
8524 lt_prog_compiler_pic='-fPIC'
8527 # FIXME: we need at least 68020 code to build shared libraries, but
8528 # adding the `-m68020' flag to GCC prevents building anything better,
8530 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8535 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8536 # PIC is the default for these OSes.
8539 mingw* | cygwin* | pw32* | os2* | cegcc*)
8540 # This hack is so that the source file can tell whether it is being
8541 # built for inclusion in a dll (and should export symbols for example).
8542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8543 # (--disable-auto-import) libraries
8544 lt_prog_compiler_pic='-DDLL_EXPORT'
8547 darwin* | rhapsody*)
8548 # PIC is the default on this platform
8549 # Common symbols not allowed in MH_DYLIB files
8550 lt_prog_compiler_pic='-fno-common'
8554 # PIC is the default for Haiku.
8555 # The "-static" flag exists, but is broken.
8556 lt_prog_compiler_static=
8560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8562 # sets the default TLS model and affects inlining.
8568 lt_prog_compiler_pic='-fPIC'
8574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8575 # Instead, we relocate shared libraries at runtime.
8579 # Just because we use GCC doesn't mean we suddenly get shared libraries
8580 # on systems that don't support them.
8581 lt_prog_compiler_can_build_shared=no
8586 # QNX uses GNU C++, but need to define -shared option too, otherwise
8588 lt_prog_compiler_pic='-fPIC -shared'
8592 if test -d /usr/nec; then
8593 lt_prog_compiler_pic=-Kconform_pic
8598 lt_prog_compiler_pic='-fPIC'
8602 case $cc_basename in
8603 nvcc*) # Cuda Compiler Driver 2.2
8604 lt_prog_compiler_wl='-Xlinker '
8605 lt_prog_compiler_pic='-Xcompiler -fPIC'
8609 # PORTME Check for flag to pass linker flags through the system compiler.
8612 lt_prog_compiler_wl='-Wl,'
8613 if test "$host_cpu" = ia64; then
8614 # AIX 5 now supports IA64 processor
8615 lt_prog_compiler_static='-Bstatic'
8617 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8621 mingw* | cygwin* | pw32* | os2* | cegcc*)
8622 # This hack is so that the source file can tell whether it is being
8623 # built for inclusion in a dll (and should export symbols for example).
8624 lt_prog_compiler_pic='-DDLL_EXPORT'
8627 hpux9* | hpux10* | hpux11*)
8628 lt_prog_compiler_wl='-Wl,'
8629 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8636 lt_prog_compiler_pic='+Z'
8639 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8640 lt_prog_compiler_static='${wl}-a ${wl}archive'
8643 irix5* | irix6* | nonstopux*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC (with -KPIC) is the default.
8646 lt_prog_compiler_static='-non_shared'
8649 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8650 case $cc_basename in
8651 # old Intel for x86_64 which still supported -KPIC.
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-static'
8657 # icc used to be incompatible with GCC.
8658 # ICC 10 doesn't accept -KPIC any more.
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='-fPIC'
8662 lt_prog_compiler_static='-static'
8664 # Lahey Fortran 8.1.
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_pic='--shared'
8668 lt_prog_compiler_static='--static'
8670 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8671 # Portland Group compilers (*not* the Pentium gcc compiler,
8672 # which looks to be a dead project)
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-fpic'
8675 lt_prog_compiler_static='-Bstatic'
8678 lt_prog_compiler_wl='-Wl,'
8679 # All Alpha code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8682 xl* | bgxl* | bgf* | mpixl*)
8683 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-qpic'
8686 lt_prog_compiler_static='-qstaticlink'
8689 case `$CC -V 2>&1 | sed 5q` in
8690 *Sun\ F* | *Sun*Fortran*)
8691 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl=''
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_wl='-Wl,'
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8713 # QNX uses GNU C++, but need to define -shared option too, otherwise
8715 lt_prog_compiler_pic='-fPIC -shared'
8718 osf3* | osf4* | osf5*)
8719 lt_prog_compiler_wl='-Wl,'
8720 # All OSF/1 code is PIC.
8721 lt_prog_compiler_static='-non_shared'
8725 lt_prog_compiler_static='-non_shared'
8729 lt_prog_compiler_pic='-KPIC'
8730 lt_prog_compiler_static='-Bstatic'
8731 case $cc_basename in
8733 lt_prog_compiler_wl='-Qoption ld ';;
8735 lt_prog_compiler_wl='-Wl,';;
8740 lt_prog_compiler_wl='-Qoption ld '
8741 lt_prog_compiler_pic='-PIC'
8742 lt_prog_compiler_static='-Bstatic'
8745 sysv4 | sysv4.2uw2* | sysv4.3*)
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_pic='-KPIC'
8748 lt_prog_compiler_static='-Bstatic'
8752 if test -d /usr/nec ;then
8753 lt_prog_compiler_pic='-Kconform_pic'
8754 lt_prog_compiler_static='-Bstatic'
8758 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_can_build_shared=no
8770 lt_prog_compiler_pic='-pic'
8771 lt_prog_compiler_static='-Bstatic'
8775 lt_prog_compiler_can_build_shared=no
8781 # For platforms which do not support PIC, -DPIC is meaningless:
8783 lt_prog_compiler_pic=
8786 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8790 $as_echo "$lt_prog_compiler_pic" >&6; }
8798 # Check to make sure the PIC flag actually works.
8800 if test -n "$lt_prog_compiler_pic"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8802 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8803 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804 $as_echo_n "(cached) " >&6
8806 lt_cv_prog_compiler_pic_works=no
8807 ac_outfile=conftest.$ac_objext
8808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8810 # Insert the option either (1) after the last *FLAGS variable, or
8811 # (2) before a word containing "conftest.", or (3) at the end.
8812 # Note that $ac_compile itself does not contain backslashes and begins
8813 # with a dollar sign (not a hyphen), so the echo should work correctly.
8814 # The option is referenced via a variable to avoid confusing sed.
8815 lt_compile=`echo "$ac_compile" | $SED \
8816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8818 -e 's:$: $lt_compiler_flag:'`
8819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8820 (eval "$lt_compile" 2>conftest.err)
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 if (exit $ac_status) && test -s "$ac_outfile"; then
8825 # The compiler can only warn and ignore the option if not recognized
8826 # So say no if there are warnings other than the usual output.
8827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8829 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8830 lt_cv_prog_compiler_pic_works=yes
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8837 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8839 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8840 case $lt_prog_compiler_pic in
8842 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8845 lt_prog_compiler_pic=
8846 lt_prog_compiler_can_build_shared=no
8857 # Check to make sure the static flag actually works.
8859 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8861 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8862 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8863 $as_echo_n "(cached) " >&6
8865 lt_cv_prog_compiler_static_works=no
8866 save_LDFLAGS="$LDFLAGS"
8867 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8868 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8869 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8870 # The linker can only warn and ignore the option if not recognized
8871 # So say no if there are warnings
8872 if test -s conftest.err; then
8873 # Append any errors to the config.log.
8874 cat conftest.err 1>&5
8875 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8877 if diff conftest.exp conftest.er2 >/dev/null; then
8878 lt_cv_prog_compiler_static_works=yes
8881 lt_cv_prog_compiler_static_works=yes
8885 LDFLAGS="$save_LDFLAGS"
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8889 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8891 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8894 lt_prog_compiler_static=
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8908 lt_cv_prog_compiler_c_o=no
8909 $RM -r conftest 2>/dev/null
8913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="-o out/conftest2.$ac_objext"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 lt_compile=`echo "$ac_compile" | $SED \
8921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923 -e 's:$: $lt_compiler_flag:'`
8924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925 (eval "$lt_compile" 2>out/conftest.err)
8927 cat out/conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_c_o=yes
8941 # SGI C++ compiler will create directory out/ii_files/ for
8942 # template instantiation
8943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944 $RM out/* && rmdir out
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8960 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8963 lt_cv_prog_compiler_c_o=no
8964 $RM -r conftest 2>/dev/null
8968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8970 lt_compiler_flag="-o out/conftest2.$ac_objext"
8971 # Insert the option either (1) after the last *FLAGS variable, or
8972 # (2) before a word containing "conftest.", or (3) at the end.
8973 # Note that $ac_compile itself does not contain backslashes and begins
8974 # with a dollar sign (not a hyphen), so the echo should work correctly.
8975 lt_compile=`echo "$ac_compile" | $SED \
8976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978 -e 's:$: $lt_compiler_flag:'`
8979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980 (eval "$lt_compile" 2>out/conftest.err)
8982 cat out/conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8986 # The compiler can only warn and ignore the option if not recognized
8987 # So say no if there are warnings
8988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8991 lt_cv_prog_compiler_c_o=yes
8996 # SGI C++ compiler will create directory out/ii_files/ for
8997 # template instantiation
8998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8999 $RM out/* && rmdir out
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9006 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9011 hard_links="nottested"
9012 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9013 # do not overwrite the value of need_locks provided by the user
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9015 $as_echo_n "checking if we can lock with hard links... " >&6; }
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9020 ln conftest.a conftest.b 2>&5 || hard_links=no
9021 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9023 $as_echo "$hard_links" >&6; }
9024 if test "$hard_links" = no; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9026 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9039 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9042 allow_undefined_flag=
9043 always_export_symbols=no
9045 archive_expsym_cmds=
9046 compiler_needs_object=no
9047 enable_shared_with_static_runtimes=no
9048 export_dynamic_flag_spec=
9049 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9050 hardcode_automatic=no
9052 hardcode_direct_absolute=no
9053 hardcode_libdir_flag_spec=
9054 hardcode_libdir_flag_spec_ld=
9055 hardcode_libdir_separator=
9057 hardcode_shlibpath_var=unsupported
9059 link_all_deplibs=unknown
9062 old_archive_from_new_cmds=
9063 old_archive_from_expsyms_cmds=
9064 thread_safe_flag_spec=
9065 whole_archive_flag_spec=
9066 # include_expsyms should be a list of space-separated symbols to be *always*
9067 # included in the symbol list
9069 # exclude_expsyms can be an extended regexp of symbols to exclude
9070 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9071 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9072 # as well as any symbol that contains `d'.
9073 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9074 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9075 # platforms (ab)use it in PIC code, but their linkers get confused if
9076 # the symbol is explicitly referenced. Since portable code cannot
9077 # rely on this symbol name, it's probably fine to never include it in
9078 # preloaded symbol tables.
9079 # Exclude shared library initialization/finalization symbols.
9080 extract_expsyms_cmds=
9083 cygwin* | mingw* | pw32* | cegcc*)
9084 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9085 # When not using gcc, we currently assume that we are using
9086 # Microsoft Visual C++.
9087 if test "$GCC" != yes; then
9092 # we just hope/assume this is gcc and not c89 (= MSVC++)
9102 # On some targets, GNU ld is compatible enough with the native linker
9103 # that we're better off using the native interface for both.
9104 lt_use_gnu_ld_interface=no
9105 if test "$with_gnu_ld" = yes; then
9108 # The AIX port of GNU ld has always aspired to compatibility
9109 # with the native linker. However, as the warning in the GNU ld
9110 # block says, versions before 2.19.5* couldn't really create working
9111 # shared libraries, regardless of the interface used.
9112 case `$LD -v 2>&1` in
9113 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9114 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9115 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9117 lt_use_gnu_ld_interface=yes
9122 lt_use_gnu_ld_interface=yes
9127 if test "$lt_use_gnu_ld_interface" = yes; then
9128 # If archive_cmds runs LD, not CC, wlarc should be empty
9131 # Set some defaults for GNU ld with shared library support. These
9132 # are reset later if shared libraries are not supported. Putting them
9133 # here allows them to be overridden if necessary.
9134 runpath_var=LD_RUN_PATH
9135 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136 export_dynamic_flag_spec='${wl}--export-dynamic'
9137 # ancient GNU ld didn't support --whole-archive et. al.
9138 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9139 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9141 whole_archive_flag_spec=
9143 supports_anon_versioning=no
9144 case `$LD -v 2>&1` in
9145 *GNU\ gold*) supports_anon_versioning=yes ;;
9146 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9147 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9148 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9149 *\ 2.11.*) ;; # other 2.11 versions
9150 *) supports_anon_versioning=yes ;;
9153 # See if GNU ld supports shared libraries.
9156 # On AIX/PPC, the GNU linker is very broken
9157 if test "$host_cpu" != ia64; then
9161 *** Warning: the GNU linker, at least up to release 2.19, is reported
9162 *** to be unable to reliably create shared libraries on AIX.
9163 *** Therefore, libtool is disabling shared libraries support. If you
9164 *** really care for shared libraries, you may want to install binutils
9165 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9166 *** You will then need to restart the configuration process.
9175 # see comment about AmigaOS4 .so support
9176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9177 archive_expsym_cmds=''
9180 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9181 hardcode_libdir_flag_spec='-L$libdir'
9182 hardcode_minus_L=yes
9188 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9189 allow_undefined_flag=unsupported
9190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9191 # support --undefined. This deserves some investigation. FIXME
9192 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9198 cygwin* | mingw* | pw32* | cegcc*)
9199 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9200 # as there is no search path for DLLs.
9201 hardcode_libdir_flag_spec='-L$libdir'
9202 export_dynamic_flag_spec='${wl}--export-all-symbols'
9203 allow_undefined_flag=unsupported
9204 always_export_symbols=no
9205 enable_shared_with_static_runtimes=yes
9206 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9208 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9210 # If the export-symbols file already is a .def file (1st line
9211 # is EXPORTS), use it as is; otherwise, prepend...
9212 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9213 cp $export_symbols $output_objdir/$soname.def;
9215 echo EXPORTS > $output_objdir/$soname.def;
9216 cat $export_symbols >> $output_objdir/$soname.def;
9218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 link_all_deplibs=yes
9231 hardcode_shlibpath_var=no
9232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9233 export_dynamic_flag_spec='${wl}-E'
9234 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235 # Instead, shared libraries are loaded at an image base (0x10000000 by
9236 # default) and relocated if they conflict, which is a slow very memory
9237 # consuming and fragmenting process. To avoid this, we pick a random,
9238 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9244 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9246 if test "$host_os" = linux-dietlibc; then
9247 case $cc_basename in
9248 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9251 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252 && test "$tmp_diet" = no
9255 tmp_sharedflag='-shared'
9256 case $cc_basename,$host_cpu in
9257 pgcc*) # Portland Group C compiler
9258 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9259 tmp_addflag=' $pic_flag'
9261 pgf77* | pgf90* | pgf95* | pgfortran*)
9262 # Portland Group f77 and f90 compilers
9263 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9264 tmp_addflag=' $pic_flag -Mnomain' ;;
9265 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9266 tmp_addflag=' -i_dynamic' ;;
9267 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9268 tmp_addflag=' -i_dynamic -nofor_main' ;;
9269 ifc* | ifort*) # Intel Fortran compiler
9270 tmp_addflag=' -nofor_main' ;;
9271 lf95*) # Lahey Fortran 8.1
9272 whole_archive_flag_spec=
9273 tmp_sharedflag='--shared' ;;
9274 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9275 tmp_sharedflag='-qmkshrobj'
9277 nvcc*) # Cuda Compiler Driver 2.2
9278 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9279 compiler_needs_object=yes
9282 case `$CC -V 2>&1 | sed 5q` in
9283 *Sun\ C*) # Sun C 5.9
9284 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9285 compiler_needs_object=yes
9286 tmp_sharedflag='-G' ;;
9287 *Sun\ F*) # Sun Fortran 8.3
9288 tmp_sharedflag='-G' ;;
9290 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292 if test "x$supports_anon_versioning" = xyes; then
9293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295 echo "local: *; };" >> $output_objdir/$libname.ver~
9296 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9299 case $cc_basename in
9300 xlf* | bgf* | bgxlf* | mpixlf*)
9301 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9302 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9303 hardcode_libdir_flag_spec=
9304 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9305 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9306 if test "x$supports_anon_versioning" = xyes; then
9307 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9308 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9309 echo "local: *; };" >> $output_objdir/$libname.ver~
9310 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9320 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9321 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9324 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9330 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9335 *** create shared libraries on Solaris systems. Therefore, libtool
9336 *** is disabling shared libraries support. We urge you to upgrade GNU
9337 *** binutils to release 2.9.1 or newer. Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9342 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9351 case `$LD -v 2>&1` in
9352 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9357 *** reliably create shared libraries on SCO systems. Therefore, libtool
9358 *** is disabling shared libraries support. We urge you to upgrade GNU
9359 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9360 *** your PATH or compiler configuration so that the native linker is
9361 *** used, and then restart.
9366 # For security reasons, it is highly recommended that you always
9367 # use absolute paths for naming shared libraries, and exclude the
9368 # DT_RUNPATH tag from executables and libraries. But doing so
9369 # requires that you compile everything twice, which is a pain.
9370 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9382 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9385 hardcode_shlibpath_var=no
9389 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9398 if test "$ld_shlibs" = no; then
9400 hardcode_libdir_flag_spec=
9401 export_dynamic_flag_spec=
9402 whole_archive_flag_spec=
9405 # PORTME fill in a description of your system's linker (not GNU ld)
9408 allow_undefined_flag=unsupported
9409 always_export_symbols=yes
9410 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9411 # Note: this linker hardcodes the directories in LIBPATH if there
9412 # are no directories specified by -L.
9413 hardcode_minus_L=yes
9414 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9415 # Neither direct hardcoding nor static linking is supported with a
9417 hardcode_direct=unsupported
9422 if test "$host_cpu" = ia64; then
9423 # On IA64, the linker does run time linking by default, so we don't
9424 # have to do anything special.
9425 aix_use_runtimelinking=no
9426 exp_sym_flag='-Bexport'
9429 # If we're using GNU nm, then we don't want the "-C" option.
9430 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9431 # Also, AIX nm treats weak defined symbols like other global
9432 # defined symbols, whereas GNU nm marks them as "W".
9433 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9434 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9436 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9438 aix_use_runtimelinking=no
9440 # Test if we are trying to use run time linking or normal
9441 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9442 # need to do runtime linking.
9443 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9444 for ld_flag in $LDFLAGS; do
9445 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9446 aix_use_runtimelinking=yes
9453 exp_sym_flag='-bexport'
9454 no_entry_flag='-bnoentry'
9457 # When large executables or shared objects are built, AIX ld can
9458 # have problems creating the table of contents. If linking a library
9459 # or program results in "error TOC overflow" add -mminimal-toc to
9460 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9461 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9465 hardcode_direct_absolute=yes
9466 hardcode_libdir_separator=':'
9467 link_all_deplibs=yes
9468 file_list_spec='${wl}-f,'
9470 if test "$GCC" = yes; then
9471 case $host_os in aix4.[012]|aix4.[012].*)
9472 # We only want to do this on AIX 4.2 and lower, the check
9473 # below for broken collect2 doesn't work under 4.3+
9474 collect2name=`${CC} -print-prog-name=collect2`
9475 if test -f "$collect2name" &&
9476 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9478 # We have reworked collect2
9481 # We have old collect2
9482 hardcode_direct=unsupported
9483 # It fails to find uninstalled libraries when the uninstalled
9484 # path is not listed in the libpath. Setting hardcode_minus_L
9485 # to unsupported forces relinking
9486 hardcode_minus_L=yes
9487 hardcode_libdir_flag_spec='-L$libdir'
9488 hardcode_libdir_separator=
9492 shared_flag='-shared'
9493 if test "$aix_use_runtimelinking" = yes; then
9494 shared_flag="$shared_flag "'${wl}-G'
9498 if test "$host_cpu" = ia64; then
9499 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9500 # chokes on -Wl,-G. The following line is correct:
9503 if test "$aix_use_runtimelinking" = yes; then
9504 shared_flag='${wl}-G'
9506 shared_flag='${wl}-bM:SRE'
9511 export_dynamic_flag_spec='${wl}-bexpall'
9512 # It seems that -bexpall does not export symbols beginning with
9513 # underscore (_), so it is better to generate a list of symbols to export.
9514 always_export_symbols=yes
9515 if test "$aix_use_runtimelinking" = yes; then
9516 # Warning - without using the other runtime loading flags (-brtl),
9517 # -berok will link without error, but may produce a broken library.
9518 allow_undefined_flag='-berok'
9519 # Determine the default libpath from the value encoded in an
9521 if test x$gcc_no_link = xyes; then
9522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9535 if ac_fn_c_try_link "$LINENO"; then :
9537 lt_aix_libpath_sed='
9538 /Import File Strings/,/^$/ {
9544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 # Check for a 64-bit object if we didn't find anything.
9546 if test -z "$aix_libpath"; then
9547 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9554 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9557 if test "$host_cpu" = ia64; then
9558 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559 allow_undefined_flag="-z nodefs"
9560 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9562 # Determine the default libpath from the value encoded in an
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9578 if ac_fn_c_try_link "$LINENO"; then :
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 # Warning - without using the other run time loading flags,
9599 # -berok will link without error, but may produce a broken library.
9600 no_undefined_flag=' ${wl}-bernotok'
9601 allow_undefined_flag=' ${wl}-berok'
9602 if test "$with_gnu_ld" = yes; then
9603 # We only use this code for GNU lds that support --whole-archive.
9604 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9606 # Exported symbols can be pulled into shared objects from archives
9607 whole_archive_flag_spec='$convenience'
9609 archive_cmds_need_lc=yes
9610 # This is similar to how AIX traditionally builds its shared libraries.
9611 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9619 # see comment about AmigaOS4 .so support
9620 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621 archive_expsym_cmds=''
9624 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9625 hardcode_libdir_flag_spec='-L$libdir'
9626 hardcode_minus_L=yes
9632 export_dynamic_flag_spec=-rdynamic
9635 cygwin* | mingw* | pw32* | cegcc*)
9636 # When not using gcc, we currently assume that we are using
9637 # Microsoft Visual C++.
9638 # hardcode_libdir_flag_spec is actually meaningless, as there is
9639 # no search path for DLLs.
9640 hardcode_libdir_flag_spec=' '
9641 allow_undefined_flag=unsupported
9642 # Tell ltmain to make .lib files, not .a files.
9644 # Tell ltmain to make .dll files, not .so files.
9646 # FIXME: Setting linknames here is a bad hack.
9647 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648 # The linker will automatically build a .lib file if we build a DLL.
9649 old_archive_from_new_cmds='true'
9650 # FIXME: Should let the user specify the lib program.
9651 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652 fix_srcfile_path='`cygpath -w "$srcfile"`'
9653 enable_shared_with_static_runtimes=yes
9656 darwin* | rhapsody*)
9659 archive_cmds_need_lc=no
9661 hardcode_automatic=yes
9662 hardcode_shlibpath_var=unsupported
9663 if test "$lt_cv_ld_force_load" = "yes"; then
9664 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9666 whole_archive_flag_spec=''
9668 link_all_deplibs=yes
9669 allow_undefined_flag="$_lt_dar_allow_undefined"
9670 case $cc_basename in
9671 ifort*) _lt_dar_can_shared=yes ;;
9672 *) _lt_dar_can_shared=$GCC ;;
9674 if test "$_lt_dar_can_shared" = "yes"; then
9675 output_verbose_link_cmd=func_echo_all
9676 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9677 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9678 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9679 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9688 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec='-L$libdir'
9690 hardcode_shlibpath_var=no
9693 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9694 # support. Future versions do this automatically, but an explicit c++rt0.o
9695 # does not break anything, and helps significantly (at the cost of a little
9698 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9699 hardcode_libdir_flag_spec='-R$libdir'
9701 hardcode_shlibpath_var=no
9704 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9708 hardcode_minus_L=yes
9709 hardcode_shlibpath_var=no
9712 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9713 freebsd* | dragonfly*)
9714 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9715 hardcode_libdir_flag_spec='-R$libdir'
9717 hardcode_shlibpath_var=no
9721 if test "$GCC" = yes; then
9722 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9724 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9726 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9727 hardcode_libdir_separator=:
9730 # hardcode_minus_L: Not really in the search PATH,
9731 # but as the default location of the library.
9732 hardcode_minus_L=yes
9733 export_dynamic_flag_spec='${wl}-E'
9737 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9738 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9742 if test "$with_gnu_ld" = no; then
9743 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9744 hardcode_libdir_flag_spec_ld='+b $libdir'
9745 hardcode_libdir_separator=:
9747 hardcode_direct_absolute=yes
9748 export_dynamic_flag_spec='${wl}-E'
9749 # hardcode_minus_L: Not really in the search PATH,
9750 # but as the default location of the library.
9751 hardcode_minus_L=yes
9756 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9759 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9778 # Older versions of the 11.00 compiler do not understand -b yet
9779 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9781 $as_echo_n "checking if $CC understands -b... " >&6; }
9782 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9783 $as_echo_n "(cached) " >&6
9785 lt_cv_prog_compiler__b=no
9786 save_LDFLAGS="$LDFLAGS"
9787 LDFLAGS="$LDFLAGS -b"
9788 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9789 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9790 # The linker can only warn and ignore the option if not recognized
9791 # So say no if there are warnings
9792 if test -s conftest.err; then
9793 # Append any errors to the config.log.
9794 cat conftest.err 1>&5
9795 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9796 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9797 if diff conftest.exp conftest.er2 >/dev/null; then
9798 lt_cv_prog_compiler__b=yes
9801 lt_cv_prog_compiler__b=yes
9805 LDFLAGS="$save_LDFLAGS"
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9809 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9811 if test x"$lt_cv_prog_compiler__b" = xyes; then
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9820 if test "$with_gnu_ld" = no; then
9821 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9822 hardcode_libdir_separator=:
9827 hardcode_shlibpath_var=no
9831 hardcode_direct_absolute=yes
9832 export_dynamic_flag_spec='${wl}-E'
9834 # hardcode_minus_L: Not really in the search PATH,
9835 # but as the default location of the library.
9836 hardcode_minus_L=yes
9842 irix5* | irix6* | nonstopux*)
9843 if test "$GCC" = yes; then
9844 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9845 # Try to use the -exported_symbol ld option, if it does not
9846 # work, assume that -exports_file does not work either and
9847 # implicitly export all symbols.
9848 save_LDFLAGS="$LDFLAGS"
9849 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850 if test x$gcc_no_link = xyes; then
9851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LDFLAGS="$save_LDFLAGS"
9865 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9866 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator=:
9872 link_all_deplibs=yes
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9879 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9881 hardcode_libdir_flag_spec='-R$libdir'
9883 hardcode_shlibpath_var=no
9887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9890 hardcode_libdir_separator=:
9891 hardcode_shlibpath_var=no
9898 if test -f /usr/libexec/ld.so; then
9900 hardcode_shlibpath_var=no
9901 hardcode_direct_absolute=yes
9902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9903 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9905 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906 export_dynamic_flag_spec='${wl}-E'
9909 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9910 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911 hardcode_libdir_flag_spec='-R$libdir'
9914 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9925 hardcode_libdir_flag_spec='-L$libdir'
9926 hardcode_minus_L=yes
9927 allow_undefined_flag=unsupported
9928 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9929 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9933 if test "$GCC" = yes; then
9934 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9935 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9937 allow_undefined_flag=' -expect_unresolved \*'
9938 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9940 archive_cmds_need_lc='no'
9941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9942 hardcode_libdir_separator=:
9945 osf4* | osf5*) # as osf3* with the addition of -msym flag
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951 allow_undefined_flag=' -expect_unresolved \*'
9952 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9953 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9954 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9956 # Both c and cxx compiler support -rpath directly
9957 hardcode_libdir_flag_spec='-rpath $libdir'
9959 archive_cmds_need_lc='no'
9960 hardcode_libdir_separator=:
9964 no_undefined_flag=' -z defs'
9965 if test "$GCC" = yes; then
9967 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9969 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9971 case `$CC -V 2>&1` in
9974 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9980 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_shlibpath_var=no
9989 solaris2.[0-5] | solaris2.[0-5].*) ;;
9991 # The compiler driver will combine and reorder linker options,
9992 # but understands `-z linker_flag'. GCC discards it without `$wl',
9993 # but is careful enough not to reorder.
9994 # Supported since Solaris 2.6 (maybe 2.5.1?)
9995 if test "$GCC" = yes; then
9996 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9998 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10002 link_all_deplibs=yes
10006 if test "x$host_vendor" = xsequent; then
10007 # Use $CC to link under sequent, because it throws in some extra .o
10008 # files that make .init and .fini sections work.
10009 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_libdir_flag_spec='-L$libdir'
10014 hardcode_direct=yes
10015 hardcode_minus_L=yes
10016 hardcode_shlibpath_var=no
10020 case $host_vendor in
10022 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct=yes # is this really true???
10026 ## LD is ld it makes a PLAMLIB
10027 ## CC just makes a GrossModule.
10028 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10029 reload_cmds='$CC -r -o $output$reload_objs'
10033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10037 runpath_var='LD_RUN_PATH'
10038 hardcode_shlibpath_var=no
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_shlibpath_var=no
10044 export_dynamic_flag_spec='-Bexport'
10048 if test -d /usr/nec; then
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_shlibpath_var=no
10051 runpath_var=LD_RUN_PATH
10052 hardcode_runpath_var=yes
10057 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10058 no_undefined_flag='${wl}-z,text'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 runpath_var='LD_RUN_PATH'
10063 if test "$GCC" = yes; then
10064 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 sysv5* | sco3.2v5* | sco5v6*)
10073 # Note: We can NOT use -z defs as we might desire, because we do not
10074 # link with -lc, and that would cause any symbols used from libc to
10075 # always be unresolved, which means just about no library would
10076 # ever link correctly. If we're not using GNU ld we use -z text
10077 # though, which does catch some bad symbols but isn't as heavy-handed
10079 no_undefined_flag='${wl}-z,text'
10080 allow_undefined_flag='${wl}-z,nodefs'
10081 archive_cmds_need_lc=no
10082 hardcode_shlibpath_var=no
10083 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10084 hardcode_libdir_separator=':'
10085 link_all_deplibs=yes
10086 export_dynamic_flag_spec='${wl}-Bexport'
10087 runpath_var='LD_RUN_PATH'
10089 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_libdir_flag_spec='-L$libdir'
10101 hardcode_shlibpath_var=no
10109 if test x$host_vendor = xsni; then
10111 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10112 export_dynamic_flag_spec='${wl}-Blargedynsym'
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10119 $as_echo "$ld_shlibs" >&6; }
10120 test "$ld_shlibs" = no && can_build_shared=no
10122 with_gnu_ld=$with_gnu_ld
10139 # Do we need to explicitly link libc?
10141 case "x$archive_cmds_need_lc" in
10143 # Assume -lc should be added
10144 archive_cmds_need_lc=yes
10146 if test "$enable_shared" = yes && test "$GCC" = yes; then
10147 case $archive_cmds in
10149 # FIXME: we may have to deal with multi-command sequences.
10152 # Test whether the compiler implicitly links with -lc since on some
10153 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10154 # to ld, don't add -lc before -lgcc.
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10156 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10157 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10158 $as_echo_n "(cached) " >&6
10161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164 (eval $ac_compile) 2>&5
10166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10167 test $ac_status = 0; } 2>conftest.err; then
10170 libobjs=conftest.$ac_objext
10172 wl=$lt_prog_compiler_wl
10173 pic_flag=$lt_prog_compiler_pic
10179 lt_save_allow_undefined_flag=$allow_undefined_flag
10180 allow_undefined_flag=
10181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10182 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10185 test $ac_status = 0; }
10187 lt_cv_archive_cmds_need_lc=no
10189 lt_cv_archive_cmds_need_lc=yes
10191 allow_undefined_flag=$lt_save_allow_undefined_flag
10193 cat conftest.err 1>&5
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10199 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10200 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10364 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10366 if test "$GCC" = yes; then
10368 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10369 *) lt_awk_arg="/^libraries:/" ;;
10372 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10373 *) lt_sed_strip_eq="s,=/,/,g" ;;
10375 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10376 case $lt_search_path_spec in
10378 # if the path contains ";" then we assume it to be the separator
10379 # otherwise default to the standard path separator (i.e. ":") - it is
10380 # assumed that no part of a normal pathname contains ";" but that should
10381 # okay in the real world where ";" in dirpaths is itself problematic.
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10385 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10388 # Ok, now we have the path, separated by spaces, we can step through it
10389 # and add multilib dir if necessary.
10390 lt_tmp_lt_search_path_spec=
10391 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10392 for lt_sys_path in $lt_search_path_spec; do
10393 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10396 test -d "$lt_sys_path" && \
10397 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10400 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10401 BEGIN {RS=" "; FS="/|\n";} {
10404 for (lt_i = NF; lt_i > 0; lt_i--) {
10405 if ($lt_i != "" && $lt_i != ".") {
10406 if ($lt_i == "..") {
10409 if (lt_count == 0) {
10410 lt_foo="/" $lt_i lt_foo;
10417 if (lt_foo != "") { lt_freq[lt_foo]++; }
10418 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420 # AWK program above erroneously prepends '/' to C:/dos/paths
10423 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10424 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10426 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10428 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10430 library_names_spec=
10431 libname_spec='lib$name'
10435 postuninstall_cmds=
10439 shlibpath_overrides_runpath=unknown
10441 dynamic_linker="$host_os ld.so"
10442 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10443 need_lib_prefix=unknown
10444 hardcode_into_libs=no
10446 # when you set need_version to no, make sure it does not cause -set_version
10447 # flags to be left without arguments
10448 need_version=unknown
10453 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10454 shlibpath_var=LIBPATH
10456 # AIX 3 has no versioning support, so we append a major version to the name.
10457 soname_spec='${libname}${release}${shared_ext}$major'
10464 hardcode_into_libs=yes
10465 if test "$host_cpu" = ia64; then
10466 # AIX 5 supports IA64
10467 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10468 shlibpath_var=LD_LIBRARY_PATH
10470 # With GCC up to 2.95.x, collect2 would create an import file
10471 # for dependence libraries. The import file would start with
10472 # the line `#! .'. This would cause the generated library to
10473 # depend on `.', always an invalid library. This was fixed in
10474 # development snapshots of GCC prior to 3.0.
10476 aix4 | aix4.[01] | aix4.[01].*)
10477 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10479 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10482 can_build_shared=no
10486 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10487 # soname into executable. Probably we can add versioning support to
10488 # collect2, so additional links can be useful in future.
10489 if test "$aix_use_runtimelinking" = yes; then
10490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10491 # instead of lib<name>.a to let people know that these are not
10492 # typical AIX shared libraries.
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495 # We preserve .a as extension for shared libraries through AIX4.2
10496 # and later when we are not doing run time linking.
10497 library_names_spec='${libname}${release}.a $libname.a'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10500 shlibpath_var=LIBPATH
10507 # Since July 2007 AmigaOS4 officially supports .so libraries.
10508 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512 library_names_spec='$libname.ixlibrary $libname.a'
10513 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10514 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10520 library_names_spec='${libname}${shared_ext}'
10521 dynamic_linker="$host_os ld.so"
10522 shlibpath_var=LIBRARY_PATH
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10533 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10534 # the default ld.so.conf also contains /usr/contrib/lib and
10535 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10536 # libtool to hard-code these into programs
10539 cygwin* | mingw* | pw32* | cegcc*)
10540 version_type=windows
10545 case $GCC,$host_os in
10546 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10547 library_names_spec='$libname.dll.a'
10548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549 postinstall_cmds='base_file=`basename \${file}`~
10550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551 dldir=$destdir/`dirname \$dlpath`~
10552 test -d \$dldir || mkdir -p \$dldir~
10553 $install_prog $dir/$dlname \$dldir/$dlname~
10554 chmod a+x \$dldir/$dlname~
10555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10561 shlibpath_overrides_runpath=yes
10565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10571 # MinGW DLLs use traditional 'lib' prefix
10572 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10575 # pw32 DLLs use 'pw' prefix rather than 'lib'
10576 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10582 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10585 dynamic_linker='Win32 ld.exe'
10586 # FIXME: first we should search . and the directory the executable is in
10590 darwin* | rhapsody*)
10591 dynamic_linker="$host_os dyld"
10592 version_type=darwin
10595 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10596 soname_spec='${libname}${release}${major}$shared_ext'
10597 shlibpath_overrides_runpath=yes
10598 shlibpath_var=DYLD_LIBRARY_PATH
10599 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10601 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10602 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 shlibpath_var=LD_LIBRARY_PATH
10614 freebsd* | dragonfly*)
10615 # DragonFly does not have aout. When/if they implement a new
10616 # versioning mechanism, adjust this.
10617 if test -x /usr/bin/objformat; then
10618 objformat=`/usr/bin/objformat`
10621 freebsd[123]*) objformat=aout ;;
10622 *) objformat=elf ;;
10625 version_type=freebsd-$objformat
10626 case $version_type in
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10637 shlibpath_var=LD_LIBRARY_PATH
10640 shlibpath_overrides_runpath=yes
10642 freebsd3.[01]* | freebsdelf3.[01]*)
10643 shlibpath_overrides_runpath=yes
10644 hardcode_into_libs=yes
10646 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10647 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10648 shlibpath_overrides_runpath=no
10649 hardcode_into_libs=yes
10651 *) # from 4.6 on, and DragonFly
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 shlibpath_var=LD_LIBRARY_PATH
10665 hardcode_into_libs=yes
10672 dynamic_linker="$host_os runtime_loader"
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 shlibpath_var=LIBRARY_PATH
10676 shlibpath_overrides_runpath=yes
10677 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10678 hardcode_into_libs=yes
10681 hpux9* | hpux10* | hpux11*)
10682 # Give a soname corresponding to the major version so that dld.sl refuses to
10683 # link against other versions.
10690 hardcode_into_libs=yes
10691 dynamic_linker="$host_os dld.so"
10692 shlibpath_var=LD_LIBRARY_PATH
10693 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 if test "X$HPUX_IA64_MODE" = X32; then
10697 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10699 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10701 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10705 hardcode_into_libs=yes
10706 dynamic_linker="$host_os dld.sl"
10707 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10708 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10712 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10716 dynamic_linker="$host_os dld.sl"
10717 shlibpath_var=SHLIB_PATH
10718 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10723 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10724 postinstall_cmds='chmod 555 $lib'
10725 # or fails outright, so override atomically:
10726 install_override_mode=555
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=no
10738 hardcode_into_libs=yes
10741 irix5* | irix6* | nonstopux*)
10743 nonstopux*) version_type=nonstopux ;;
10745 if test "$lt_cv_prog_gnu_ld" = yes; then
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10756 irix5* | nonstopux*)
10757 libsuff= shlibsuff=
10760 case $LD in # libtool.m4 will add one of these switches to LD
10761 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10762 libsuff= shlibsuff= libmagic=32-bit;;
10763 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10764 libsuff=32 shlibsuff=N32 libmagic=N32;;
10765 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10766 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10767 *) libsuff= shlibsuff= libmagic=never-match;;
10771 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10772 shlibpath_overrides_runpath=no
10773 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10774 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10775 hardcode_into_libs=yes
10778 # No shared lib support for Linux oldld, aout, or coff.
10779 linux*oldld* | linux*aout* | linux*coff*)
10783 # This must be Linux ELF.
10784 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10791 shlibpath_var=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath=no
10794 # Some binutils ld are patched to set DT_RUNPATH
10795 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10796 $as_echo_n "(cached) " >&6
10798 lt_cv_shlibpath_overrides_runpath=no
10799 save_LDFLAGS=$LDFLAGS
10800 save_libdir=$libdir
10801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10803 if test x$gcc_no_link = xyes; then
10804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10819 lt_cv_shlibpath_overrides_runpath=yes
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LDFLAGS=$save_LDFLAGS
10825 libdir=$save_libdir
10829 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10831 # This implies no fast_install, which is unacceptable.
10832 # Some rework will be needed to allow for fast_install
10833 # before this can be enabled.
10834 hardcode_into_libs=yes
10836 # Append ld.so.conf contents to the search path
10837 if test -f /etc/ld.so.conf; then
10838 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10839 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10842 # We used to test for /lib/ld.so.1 and disable shared libraries on
10843 # powerpc, because MkLinux only supported shared libraries with the
10844 # GNU dynamic linker. Since this was broken with cross compilers,
10845 # most powerpc-linux boxes support dynamic linking these days and
10846 # people can always --disable-shared, the test was removed, and we
10847 # assume the GNU/Linux dynamic linker is in use.
10848 dynamic_linker='GNU/Linux ld.so'
10855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10858 dynamic_linker='NetBSD (a.out) ld.so'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 dynamic_linker='NetBSD ld.elf_so'
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=yes
10866 hardcode_into_libs=yes
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 shlibpath_var=LD_LIBRARY_PATH
10873 shlibpath_overrides_runpath=yes
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=no
10884 hardcode_into_libs=yes
10885 dynamic_linker='ldqnx.so'
10890 sys_lib_dlsearch_path_spec="/usr/lib"
10892 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10894 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10895 *) need_version=no ;;
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10902 openbsd2.[89] | openbsd2.[89].*)
10903 shlibpath_overrides_runpath=no
10906 shlibpath_overrides_runpath=yes
10910 shlibpath_overrides_runpath=yes
10915 libname_spec='$name'
10918 library_names_spec='$libname${shared_ext} $libname.a'
10919 dynamic_linker='OS/2 ld.exe'
10920 shlibpath_var=LIBPATH
10923 osf3* | osf4* | osf5*)
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10931 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 shlibpath_overrides_runpath=yes
10946 hardcode_into_libs=yes
10947 # ldd complains unless libraries are executable
10948 postinstall_cmds='chmod +x $lib'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10954 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 if test "$with_gnu_ld" = yes; then
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 case $host_vendor in
10970 shlibpath_overrides_runpath=no
10972 runpath_var=LD_RUN_PATH
10980 shlibpath_overrides_runpath=no
10981 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10987 if test -d /usr/nec ;then
10989 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10990 soname_spec='$libname${shared_ext}.$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10996 version_type=freebsd-elf
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=yes
11003 hardcode_into_libs=yes
11004 if test "$with_gnu_ld" = yes; then
11005 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11007 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11010 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11014 sys_lib_dlsearch_path_spec='/usr/lib'
11018 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath=no
11025 hardcode_into_libs=yes
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11040 $as_echo "$dynamic_linker" >&6; }
11041 test "$dynamic_linker" = no && can_build_shared=no
11043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11044 if test "$GCC" = yes; then
11045 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11048 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11049 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11051 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11052 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11149 if test -n "$hardcode_libdir_flag_spec" ||
11150 test -n "$runpath_var" ||
11151 test "X$hardcode_automatic" = "Xyes" ; then
11153 # We can hardcode non-existent directories.
11154 if test "$hardcode_direct" != no &&
11155 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11156 # have to relink, otherwise we might link with an installed library
11157 # when we should be linking with a yet-to-be-installed one
11158 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11159 test "$hardcode_minus_L" != no; then
11160 # Linking always hardcodes the temporary library directory.
11161 hardcode_action=relink
11163 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11164 hardcode_action=immediate
11167 # We cannot hardcode anything, or else we can only hardcode existing
11169 hardcode_action=unsupported
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11172 $as_echo "$hardcode_action" >&6; }
11174 if test "$hardcode_action" = relink ||
11175 test "$inherit_rpath" = yes; then
11176 # Fast installation is not supported
11177 enable_fast_install=no
11178 elif test "$shlibpath_overrides_runpath" = yes ||
11179 test "$enable_shared" = no; then
11180 # Fast installation is not necessary
11181 enable_fast_install=needless
11189 if test "x$enable_dlopen" != xyes; then
11190 enable_dlopen=unknown
11191 enable_dlopen_self=unknown
11192 enable_dlopen_self_static=unknown
11199 lt_cv_dlopen="load_add_on"
11201 lt_cv_dlopen_self=yes
11204 mingw* | pw32* | cegcc*)
11205 lt_cv_dlopen="LoadLibrary"
11210 lt_cv_dlopen="dlopen"
11215 # if libdl is installed we need to link against it
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11221 ac_check_lib_save_LIBS=$LIBS
11223 if test x$gcc_no_link = xyes; then
11224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dl_dlopen=yes
11247 ac_cv_lib_dl_dlopen=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11259 lt_cv_dlopen="dyld"
11261 lt_cv_dlopen_self=yes
11268 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11269 if test "x$ac_cv_func_shl_load" = x""yes; then :
11270 lt_cv_dlopen="shl_load"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11273 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11274 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11277 ac_check_lib_save_LIBS=$LIBS
11279 if test x$gcc_no_link = xyes; then
11280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11295 return shl_load ();
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dld_shl_load=yes
11303 ac_cv_lib_dld_shl_load=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11310 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11311 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11312 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11314 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11315 if test "x$ac_cv_func_dlopen" = x""yes; then :
11316 lt_cv_dlopen="dlopen"
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11323 ac_check_lib_save_LIBS=$LIBS
11325 if test x$gcc_no_link = xyes; then
11326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 ac_cv_lib_dl_dlopen=yes
11349 ac_cv_lib_dl_dlopen=no
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11357 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11358 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11361 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11362 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11363 $as_echo_n "(cached) " >&6
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lsvld $LIBS"
11367 if test x$gcc_no_link = xyes; then
11368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_svld_dlopen=yes
11391 ac_cv_lib_svld_dlopen=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11399 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11403 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11404 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11405 $as_echo_n "(cached) " >&6
11407 ac_check_lib_save_LIBS=$LIBS
11409 if test x$gcc_no_link = xyes; then
11410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11425 return dld_link ();
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_dld_dld_link=yes
11433 ac_cv_lib_dld_dld_link=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11441 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11442 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11463 if test "x$lt_cv_dlopen" != xno; then
11469 case $lt_cv_dlopen in
11471 save_CPPFLAGS="$CPPFLAGS"
11472 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11474 save_LDFLAGS="$LDFLAGS"
11475 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11478 LIBS="$lt_cv_dlopen_libs $LIBS"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11482 if test "${lt_cv_dlopen_self+set}" = set; then :
11483 $as_echo_n "(cached) " >&6
11485 if test "$cross_compiling" = yes; then :
11486 lt_cv_dlopen_self=cross
11488 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11489 lt_status=$lt_dlunknown
11490 cat > conftest.$ac_ext <<_LT_EOF
11491 #line 11491 "configure"
11492 #include "confdefs.h"
11501 # define LT_DLGLOBAL RTLD_GLOBAL
11504 # define LT_DLGLOBAL DL_GLOBAL
11506 # define LT_DLGLOBAL 0
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511 find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11517 # define LT_DLLAZY_OR_NOW DL_LAZY
11520 # define LT_DLLAZY_OR_NOW RTLD_NOW
11523 # define LT_DLLAZY_OR_NOW DL_NOW
11525 # define LT_DLLAZY_OR_NOW 0
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533 correspondingly for the symbols needed. */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 void fnord () __attribute__((visibility("default")));
11538 void fnord () { int i=42; }
11541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542 int status = $lt_dlunknown;
11546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11550 else puts (dlerror ());
11552 /* dlclose (self); */
11560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561 (eval $ac_link) 2>&5
11563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11565 (./conftest; exit; ) >&5 2>/dev/null
11567 case x$lt_status in
11568 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11569 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11573 # compilation failed
11574 lt_cv_dlopen_self=no
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11582 $as_echo "$lt_cv_dlopen_self" >&6; }
11584 if test "x$lt_cv_dlopen_self" = xyes; then
11585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self_static=cross
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11612 # define LT_DLGLOBAL 0
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11631 # define LT_DLLAZY_OR_NOW 0
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11644 void fnord () { int i=42; }
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11658 /* dlclose (self); */
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11679 # compilation failed
11680 lt_cv_dlopen_self_static=no
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11691 CPPFLAGS="$save_CPPFLAGS"
11692 LDFLAGS="$save_LDFLAGS"
11697 case $lt_cv_dlopen_self in
11698 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11699 *) enable_dlopen_self=unknown ;;
11702 case $lt_cv_dlopen_self_static in
11703 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11704 *) enable_dlopen_self_static=unknown ;;
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11729 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11730 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11732 $as_echo "yes" >&6; }
11734 # FIXME - insert some real tests, host_os isn't really good enough
11737 if test -n "$STRIP" ; then
11738 striplib="$STRIP -x"
11739 old_striplib="$STRIP -S"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11765 # Report which library types will actually be built
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11769 $as_echo "$can_build_shared" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
11773 test "$can_build_shared" = "no" && enable_shared=no
11775 # On AIX, shared libraries and static libraries use the same namespace, and
11776 # are all built from PIC.
11779 test "$enable_shared" = yes && enable_static=no
11780 if test -n "$RANLIB"; then
11781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11782 postinstall_cmds='$RANLIB $lib'
11787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11788 test "$enable_shared" = yes && enable_static=no
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11793 $as_echo "$enable_shared" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11796 $as_echo_n "checking whether to build static libraries... " >&6; }
11797 # Make sure either enable_shared or enable_static is yes.
11798 test "$enable_shared" = yes || enable_static=yes
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11800 $as_echo "$enable_static" >&6; }
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11814 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11815 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11816 (test "X$CXX" != "Xg++"))) ; then
11818 ac_cpp='$CXXCPP $CPPFLAGS'
11819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11823 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11824 if test -z "$CXXCPP"; then
11825 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11828 # Double quotes because CXXCPP needs to be expanded
11829 for CXXCPP in "$CXX -E" "/lib/cpp"
11831 ac_preproc_ok=false
11832 for ac_cxx_preproc_warn_flag in '' yes
11834 # Use a header file that comes with gcc, so configuring glibc
11835 # with a fresh cross-compiler works.
11836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837 # <limits.h> exists even on freestanding compilers.
11838 # On the NeXT, cc -E runs the code through the compiler's parser,
11839 # not just through cpp. "Syntax error" is here to catch this case.
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 # include <limits.h>
11845 # include <assert.h>
11849 if ac_fn_cxx_try_cpp "$LINENO"; then :
11852 # Broken: fails on valid input.
11855 rm -f conftest.err conftest.$ac_ext
11857 # OK, works on sane cases. Now check whether nonexistent headers
11858 # can be detected and how.
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11861 #include <ac_nonexistent.h>
11863 if ac_fn_cxx_try_cpp "$LINENO"; then :
11864 # Broken: success on invalid input.
11867 # Passes both tests.
11871 rm -f conftest.err conftest.$ac_ext
11874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11875 rm -f conftest.err conftest.$ac_ext
11876 if $ac_preproc_ok; then :
11881 ac_cv_prog_CXXCPP=$CXXCPP
11884 CXXCPP=$ac_cv_prog_CXXCPP
11886 ac_cv_prog_CXXCPP=$CXXCPP
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11889 $as_echo "$CXXCPP" >&6; }
11890 ac_preproc_ok=false
11891 for ac_cxx_preproc_warn_flag in '' yes
11893 # Use a header file that comes with gcc, so configuring glibc
11894 # with a fresh cross-compiler works.
11895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 # <limits.h> exists even on freestanding compilers.
11897 # On the NeXT, cc -E runs the code through the compiler's parser,
11898 # not just through cpp. "Syntax error" is here to catch this case.
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11902 # include <limits.h>
11904 # include <assert.h>
11908 if ac_fn_cxx_try_cpp "$LINENO"; then :
11911 # Broken: fails on valid input.
11914 rm -f conftest.err conftest.$ac_ext
11916 # OK, works on sane cases. Now check whether nonexistent headers
11917 # can be detected and how.
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <ac_nonexistent.h>
11922 if ac_fn_cxx_try_cpp "$LINENO"; then :
11923 # Broken: success on invalid input.
11926 # Passes both tests.
11930 rm -f conftest.err conftest.$ac_ext
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then :
11938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11940 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11941 See \`config.log' for more details." "$LINENO" 5; }
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11951 _lt_caught_CXX_error=yes
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11960 archive_cmds_need_lc_CXX=no
11961 allow_undefined_flag_CXX=
11962 always_export_symbols_CXX=no
11963 archive_expsym_cmds_CXX=
11964 compiler_needs_object_CXX=no
11965 export_dynamic_flag_spec_CXX=
11966 hardcode_direct_CXX=no
11967 hardcode_direct_absolute_CXX=no
11968 hardcode_libdir_flag_spec_CXX=
11969 hardcode_libdir_flag_spec_ld_CXX=
11970 hardcode_libdir_separator_CXX=
11971 hardcode_minus_L_CXX=no
11972 hardcode_shlibpath_var_CXX=unsupported
11973 hardcode_automatic_CXX=no
11974 inherit_rpath_CXX=no
11976 module_expsym_cmds_CXX=
11977 link_all_deplibs_CXX=unknown
11978 old_archive_cmds_CXX=$old_archive_cmds
11979 reload_flag_CXX=$reload_flag
11980 reload_cmds_CXX=$reload_cmds
11981 no_undefined_flag_CXX=
11982 whole_archive_flag_spec_CXX=
11983 enable_shared_with_static_runtimes_CXX=no
11985 # Source file extension for C++ test sources.
11988 # Object file extension for compiled C++ test sources.
11992 # No sense in running all these tests if we already determined that
11993 # the CXX compiler isn't working. Some variables (like enable_shared)
11994 # are currently assumed to apply to all compilers on this platform,
11995 # and will be corrupted by setting them based on a non-working compiler.
11996 if test "$_lt_caught_CXX_error" != yes; then
11997 # Code to be used in simple compile tests
11998 lt_simple_compile_test_code="int some_variable = 0;"
12000 # Code to be used in simple link tests
12001 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12010 # If no C compiler was specified, use CC.
12013 # If no C compiler flags were specified, use CFLAGS.
12014 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12016 # Allow CC to be a program name with arguments.
12020 # save warnings/boilerplate of simple test code
12021 ac_outfile=conftest.$ac_objext
12022 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12023 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_compiler_boilerplate=`cat conftest.err`
12027 ac_outfile=conftest.$ac_objext
12028 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12029 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12030 _lt_linker_boilerplate=`cat conftest.err`
12034 # Allow CC to be a program name with arguments.
12039 lt_save_with_gnu_ld=$with_gnu_ld
12040 lt_save_path_LD=$lt_cv_path_LD
12041 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12042 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12044 $as_unset lt_cv_prog_gnu_ld
12046 if test -n "${lt_cv_path_LDCXX+set}"; then
12047 lt_cv_path_LD=$lt_cv_path_LDCXX
12049 $as_unset lt_cv_path_LD
12051 test -z "${LDCXX+set}" || LD=$LDCXX
12055 for cc_temp in $compiler""; do
12057 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12058 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12063 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12066 if test -n "$compiler"; then
12067 # We don't want -fno-exception when compiling C++ code, so set the
12068 # no_builtin_flag separately
12069 if test "$GXX" = yes; then
12070 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12072 lt_prog_compiler_no_builtin_flag_CXX=
12075 if test "$GXX" = yes; then
12076 # Set up default GNU C++ configuration
12080 # Check whether --with-gnu-ld was given.
12081 if test "${with_gnu_ld+set}" = set; then :
12082 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12088 if test "$GCC" = yes; then
12089 # Check if gcc -print-prog-name=ld gives a path.
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12091 $as_echo_n "checking for ld used by $CC... " >&6; }
12094 # gcc leaves a trailing carriage return which upsets mingw
12095 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12097 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12100 # Accept absolute paths.
12102 re_direlt='/[^/][^/]*/\.\./'
12103 # Canonicalize the pathname of ld
12104 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12105 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12106 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12108 test -z "$LD" && LD="$ac_prog"
12111 # If it fails, then pretend we aren't using GCC.
12115 # If it is relative, then search for the first ld in PATH.
12116 with_gnu_ld=unknown
12119 elif test "$with_gnu_ld" = yes; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12121 $as_echo_n "checking for GNU ld... " >&6; }
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12124 $as_echo_n "checking for non-GNU ld... " >&6; }
12126 if test "${lt_cv_path_LD+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12129 if test -z "$LD"; then
12130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12131 for ac_dir in $PATH; do
12133 test -z "$ac_dir" && ac_dir=.
12134 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12135 lt_cv_path_LD="$ac_dir/$ac_prog"
12136 # Check to see if the program is GNU ld. I'd rather use --version,
12137 # but apparently some variants of GNU ld only accept -v.
12138 # Break only if it was the GNU/non-GNU ld that we prefer.
12139 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12140 *GNU* | *'with BFD'*)
12141 test "$with_gnu_ld" != no && break
12144 test "$with_gnu_ld" != yes && break
12151 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12155 LD="$lt_cv_path_LD"
12156 if test -n "$LD"; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12158 $as_echo "$LD" >&6; }
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12166 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12167 $as_echo_n "(cached) " >&6
12169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12170 case `$LD -v 2>&1 </dev/null` in
12171 *GNU* | *'with BFD'*)
12172 lt_cv_prog_gnu_ld=yes
12175 lt_cv_prog_gnu_ld=no
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12181 with_gnu_ld=$lt_cv_prog_gnu_ld
12189 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12190 # archiving commands below assume that GNU ld is being used.
12191 if test "$with_gnu_ld" = yes; then
12192 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12195 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12196 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12198 # If archive_cmds runs LD, not CC, wlarc should be empty
12199 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12200 # investigate it a little bit more. (MM)
12203 # ancient GNU ld didn't support --whole-archive et. al.
12204 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12205 $GREP 'no-whole-archive' > /dev/null; then
12206 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12208 whole_archive_flag_spec_CXX=
12214 # A generic and very simple default shared library creation
12215 # command for GNU C++ for the case where it uses the native
12216 # linker, instead of GNU ld. If possible, this setting should
12217 # overridden to take advantage of the native linker features on
12218 # the platform it is being used on.
12219 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12222 # Commands to make compiler produce verbose output that lists
12223 # what "hidden" libraries, object files and flags are used when
12224 # linking a shared library.
12225 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12233 # PORTME: fill in a description of your system's C++ link characteristics
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12239 # FIXME: insert proper C++ library support
12243 if test "$host_cpu" = ia64; then
12244 # On IA64, the linker does run time linking by default, so we don't
12245 # have to do anything special.
12246 aix_use_runtimelinking=no
12247 exp_sym_flag='-Bexport'
12250 aix_use_runtimelinking=no
12252 # Test if we are trying to use run time linking or normal
12253 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12254 # need to do runtime linking.
12255 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12256 for ld_flag in $LDFLAGS; do
12259 aix_use_runtimelinking=yes
12267 exp_sym_flag='-bexport'
12268 no_entry_flag='-bnoentry'
12271 # When large executables or shared objects are built, AIX ld can
12272 # have problems creating the table of contents. If linking a library
12273 # or program results in "error TOC overflow" add -mminimal-toc to
12274 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12275 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12277 archive_cmds_CXX=''
12278 hardcode_direct_CXX=yes
12279 hardcode_direct_absolute_CXX=yes
12280 hardcode_libdir_separator_CXX=':'
12281 link_all_deplibs_CXX=yes
12282 file_list_spec_CXX='${wl}-f,'
12284 if test "$GXX" = yes; then
12285 case $host_os in aix4.[012]|aix4.[012].*)
12286 # We only want to do this on AIX 4.2 and lower, the check
12287 # below for broken collect2 doesn't work under 4.3+
12288 collect2name=`${CC} -print-prog-name=collect2`
12289 if test -f "$collect2name" &&
12290 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12292 # We have reworked collect2
12295 # We have old collect2
12296 hardcode_direct_CXX=unsupported
12297 # It fails to find uninstalled libraries when the uninstalled
12298 # path is not listed in the libpath. Setting hardcode_minus_L
12299 # to unsupported forces relinking
12300 hardcode_minus_L_CXX=yes
12301 hardcode_libdir_flag_spec_CXX='-L$libdir'
12302 hardcode_libdir_separator_CXX=
12305 shared_flag='-shared'
12306 if test "$aix_use_runtimelinking" = yes; then
12307 shared_flag="$shared_flag "'${wl}-G'
12311 if test "$host_cpu" = ia64; then
12312 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12313 # chokes on -Wl,-G. The following line is correct:
12316 if test "$aix_use_runtimelinking" = yes; then
12317 shared_flag='${wl}-G'
12319 shared_flag='${wl}-bM:SRE'
12324 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12325 # It seems that -bexpall does not export symbols beginning with
12326 # underscore (_), so it is better to generate a list of symbols to
12328 always_export_symbols_CXX=yes
12329 if test "$aix_use_runtimelinking" = yes; then
12330 # Warning - without using the other runtime loading flags (-brtl),
12331 # -berok will link without error, but may produce a broken library.
12332 allow_undefined_flag_CXX='-berok'
12333 # Determine the default libpath from the value encoded in an empty
12335 if test x$gcc_no_link = xyes; then
12336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12349 if ac_fn_cxx_try_link "$LINENO"; then :
12351 lt_aix_libpath_sed='
12352 /Import File Strings/,/^$/ {
12358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 # Check for a 64-bit object if we didn't find anything.
12360 if test -z "$aix_libpath"; then
12361 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12368 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12370 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12372 if test "$host_cpu" = ia64; then
12373 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12374 allow_undefined_flag_CXX="-z nodefs"
12375 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12377 # Determine the default libpath from the value encoded in an
12378 # empty executable.
12379 if test x$gcc_no_link = xyes; then
12380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12393 if ac_fn_cxx_try_link "$LINENO"; then :
12395 lt_aix_libpath_sed='
12396 /Import File Strings/,/^$/ {
12402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 # Check for a 64-bit object if we didn't find anything.
12404 if test -z "$aix_libpath"; then
12405 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12412 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 # Warning - without using the other run time loading flags,
12414 # -berok will link without error, but may produce a broken library.
12415 no_undefined_flag_CXX=' ${wl}-bernotok'
12416 allow_undefined_flag_CXX=' ${wl}-berok'
12417 if test "$with_gnu_ld" = yes; then
12418 # We only use this code for GNU lds that support --whole-archive.
12419 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12421 # Exported symbols can be pulled into shared objects from archives
12422 whole_archive_flag_spec_CXX='$convenience'
12424 archive_cmds_need_lc_CXX=yes
12425 # This is similar to how AIX traditionally builds its shared
12427 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12434 allow_undefined_flag_CXX=unsupported
12435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12436 # support --undefined. This deserves some investigation. FIXME
12437 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12444 case $cc_basename in
12446 # FIXME: insert proper C++ library support
12452 cygwin* | mingw* | pw32* | cegcc*)
12453 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12454 # as there is no search path for DLLs.
12455 hardcode_libdir_flag_spec_CXX='-L$libdir'
12456 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12457 allow_undefined_flag_CXX=unsupported
12458 always_export_symbols_CXX=no
12459 enable_shared_with_static_runtimes_CXX=yes
12461 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12462 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12463 # If the export-symbols file already is a .def file (1st line
12464 # is EXPORTS), use it as is; otherwise, prepend...
12465 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12466 cp $export_symbols $output_objdir/$soname.def;
12468 echo EXPORTS > $output_objdir/$soname.def;
12469 cat $export_symbols >> $output_objdir/$soname.def;
12471 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12476 darwin* | rhapsody*)
12479 archive_cmds_need_lc_CXX=no
12480 hardcode_direct_CXX=no
12481 hardcode_automatic_CXX=yes
12482 hardcode_shlibpath_var_CXX=unsupported
12483 if test "$lt_cv_ld_force_load" = "yes"; then
12484 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12486 whole_archive_flag_spec_CXX=''
12488 link_all_deplibs_CXX=yes
12489 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12490 case $cc_basename in
12491 ifort*) _lt_dar_can_shared=yes ;;
12492 *) _lt_dar_can_shared=$GCC ;;
12494 if test "$_lt_dar_can_shared" = "yes"; then
12495 output_verbose_link_cmd=func_echo_all
12496 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12497 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12498 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12499 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12500 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12501 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12502 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12512 case $cc_basename in
12514 # FIXME: insert proper C++ library support
12518 # Green Hills C++ Compiler
12519 # FIXME: insert proper C++ library support
12523 # FIXME: insert proper C++ library support
12530 # C++ shared libraries reported to be fairly broken before
12536 archive_cmds_need_lc_CXX=no
12539 freebsd* | dragonfly*)
12540 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12549 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 link_all_deplibs_CXX=yes
12554 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12555 hardcode_libdir_separator_CXX=:
12556 export_dynamic_flag_spec_CXX='${wl}-E'
12557 hardcode_direct_CXX=yes
12558 hardcode_minus_L_CXX=yes # Not in the search PATH,
12559 # but as the default
12560 # location of the library.
12562 case $cc_basename in
12564 # FIXME: insert proper C++ library support
12568 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12569 # Commands to make compiler produce verbose output that lists
12570 # what "hidden" libraries, object files and flags are used when
12571 # linking a shared library.
12573 # There doesn't appear to be a way to prevent this compiler from
12574 # explicitly linking system object files so we need to strip them
12575 # from the output so that they don't get included in the library
12577 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12580 if test "$GXX" = yes; then
12581 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12583 # FIXME: insert proper C++ library support
12591 if test $with_gnu_ld = no; then
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12605 hardcode_direct_CXX=no
12606 hardcode_shlibpath_var_CXX=no
12609 hardcode_direct_CXX=yes
12610 hardcode_direct_absolute_CXX=yes
12611 hardcode_minus_L_CXX=yes # Not in the search PATH,
12612 # but as the default
12613 # location of the library.
12617 case $cc_basename in
12619 # FIXME: insert proper C++ library support
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12631 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12634 # Commands to make compiler produce verbose output that lists
12635 # what "hidden" libraries, object files and flags are used when
12636 # linking a shared library.
12638 # There doesn't appear to be a way to prevent this compiler from
12639 # explicitly linking system object files so we need to strip them
12640 # from the output so that they don't get included in the library
12642 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12645 if test "$GXX" = yes; then
12646 if test $with_gnu_ld = no; then
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12655 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12660 # FIXME: insert proper C++ library support
12668 hardcode_direct_CXX=no
12669 hardcode_shlibpath_var_CXX=no
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12671 export_dynamic_flag_spec_CXX='${wl}-E'
12672 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12673 # Instead, shared libraries are loaded at an image base (0x10000000 by
12674 # default) and relocated if they conflict, which is a slow very memory
12675 # consuming and fragmenting process. To avoid this, we pick a random,
12676 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12677 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12678 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12679 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12682 case $cc_basename in
12685 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12687 # Archives containing C++ object files must be created using
12688 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12691 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12694 if test "$GXX" = yes; then
12695 if test "$with_gnu_ld" = no; then
12696 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12698 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12701 link_all_deplibs_CXX=yes
12704 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12705 hardcode_libdir_separator_CXX=:
12706 inherit_rpath_CXX=yes
12709 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12710 case $cc_basename in
12712 # Kuck and Associates, Inc. (KAI) C++ Compiler
12714 # KCC will only create a shared library if the output file
12715 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12716 # to its proper name (with version) after linking.
12717 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12718 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12719 # Commands to make compiler produce verbose output that lists
12720 # what "hidden" libraries, object files and flags are used when
12721 # linking a shared library.
12723 # There doesn't appear to be a way to prevent this compiler from
12724 # explicitly linking system object files so we need to strip them
12725 # from the output so that they don't get included in the library
12727 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12732 # Archives containing C++ object files must be created using
12733 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12734 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12739 # version 8.0 and above of icpc choke on multiply defined symbols
12740 # if we add $predep_objects and $postdep_objects, however 7.1 and
12741 # earlier do not add the objects themselves.
12742 case `$CC -V 2>&1` in
12744 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12745 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12747 *) # Version 8.0 or newer
12750 ia64*) tmp_idyn=' -i_dynamic';;
12752 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12753 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12756 archive_cmds_need_lc_CXX=no
12757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12762 # Portland Group C++ compiler
12764 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12765 prelink_cmds_CXX='tpldir=Template.dir~
12767 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12768 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12769 old_archive_cmds_CXX='tpldir=Template.dir~
12771 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12772 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12774 archive_cmds_CXX='tpldir=Template.dir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12777 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12778 archive_expsym_cmds_CXX='tpldir=Template.dir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12783 *) # Version 6 and above use weak symbols
12784 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12785 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12789 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12798 runpath_var=LD_RUN_PATH
12799 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12800 hardcode_libdir_separator_CXX=:
12802 # Commands to make compiler produce verbose output that lists
12803 # what "hidden" libraries, object files and flags are used when
12804 # linking a shared library.
12806 # There doesn't appear to be a way to prevent this compiler from
12807 # explicitly linking system object files so we need to strip them
12808 # from the output so that they don't get included in the library
12810 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12812 xl* | mpixl* | bgxl*)
12813 # IBM XL 8.0 on PPC, with GNU ld
12814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12817 if test "x$supports_anon_versioning" = xyes; then
12818 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12819 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12820 echo "local: *; };" >> $output_objdir/$libname.ver~
12821 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12825 case `$CC -V 2>&1 | sed 5q` in
12828 no_undefined_flag_CXX=' -zdefs'
12829 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12831 hardcode_libdir_flag_spec_CXX='-R$libdir'
12832 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12833 compiler_needs_object_CXX=yes
12835 # Not sure whether something based on
12836 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12838 output_verbose_link_cmd='func_echo_all'
12840 # Archives containing C++ object files must be created using
12841 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12842 # necessary to make sure instantiated templates are included
12844 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12852 # FIXME: insert proper C++ library support
12857 # FIXME: insert proper C++ library support
12862 case $cc_basename in
12864 # FIXME: insert proper C++ library support
12868 # FIXME: insert proper C++ library support
12875 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12876 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12878 hardcode_libdir_flag_spec_CXX='-R$libdir'
12879 hardcode_direct_CXX=yes
12880 hardcode_shlibpath_var_CXX=no
12882 # Workaround some broken pre-1.5 toolchains
12883 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12891 # C++ shared libraries are fairly broken
12896 if test -f /usr/libexec/ld.so; then
12897 hardcode_direct_CXX=yes
12898 hardcode_shlibpath_var_CXX=no
12899 hardcode_direct_absolute_CXX=yes
12900 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12901 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12902 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12903 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12904 export_dynamic_flag_spec_CXX='${wl}-E'
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12907 output_verbose_link_cmd=func_echo_all
12913 osf3* | osf4* | osf5*)
12914 case $cc_basename in
12916 # Kuck and Associates, Inc. (KAI) C++ Compiler
12918 # KCC will only create a shared library if the output file
12919 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12920 # to its proper name (with version) after linking.
12921 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924 hardcode_libdir_separator_CXX=:
12926 # Archives containing C++ object files must be created using
12927 # the KAI C++ compiler.
12929 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12930 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12934 # Rational C++ 2.4.1
12935 # FIXME: insert proper C++ library support
12941 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12942 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12943 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12946 allow_undefined_flag_CXX=' -expect_unresolved \*'
12947 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12948 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12949 echo "-hidden">> $lib.exp~
12950 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12952 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12956 hardcode_libdir_separator_CXX=:
12958 # Commands to make compiler produce verbose output that lists
12959 # what "hidden" libraries, object files and flags are used when
12960 # linking a shared library.
12962 # There doesn't appear to be a way to prevent this compiler from
12963 # explicitly linking system object files so we need to strip them
12964 # from the output so that they don't get included in the library
12966 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12969 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12970 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12973 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12976 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12980 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12989 # FIXME: insert proper C++ library support
12997 # FIXME: insert proper C++ library support
13002 case $cc_basename in
13005 # FIXME: insert proper C++ library support
13010 # FIXME: insert proper C++ library support
13014 # FIXME: insert proper C++ library support
13021 case $cc_basename in
13023 # Sun C++ 4.2, 5.x and Centerline C++
13024 archive_cmds_need_lc_CXX=yes
13025 no_undefined_flag_CXX=' -zdefs'
13026 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13027 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13028 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13030 hardcode_libdir_flag_spec_CXX='-R$libdir'
13031 hardcode_shlibpath_var_CXX=no
13033 solaris2.[0-5] | solaris2.[0-5].*) ;;
13035 # The compiler driver will combine and reorder linker options,
13036 # but understands `-z linker_flag'.
13037 # Supported since Solaris 2.6 (maybe 2.5.1?)
13038 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13041 link_all_deplibs_CXX=yes
13043 output_verbose_link_cmd='func_echo_all'
13045 # Archives containing C++ object files must be created using
13046 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13047 # necessary to make sure instantiated templates are included
13049 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13052 # Green Hills C++ Compiler
13053 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13055 # The C++ compiler must be used to create the archive.
13056 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13059 # GNU C++ compiler with Solaris linker
13060 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13061 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13062 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13063 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13064 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13065 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13070 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13072 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13074 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13075 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13078 # Commands to make compiler produce verbose output that lists
13079 # what "hidden" libraries, object files and flags are used when
13080 # linking a shared library.
13081 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13084 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13086 solaris2.[0-5] | solaris2.[0-5].*) ;;
13088 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13096 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13097 no_undefined_flag_CXX='${wl}-z,text'
13098 archive_cmds_need_lc_CXX=no
13099 hardcode_shlibpath_var_CXX=no
13100 runpath_var='LD_RUN_PATH'
13102 case $cc_basename in
13104 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 sysv5* | sco3.2v5* | sco5v6*)
13115 # Note: We can NOT use -z defs as we might desire, because we do not
13116 # link with -lc, and that would cause any symbols used from libc to
13117 # always be unresolved, which means just about no library would
13118 # ever link correctly. If we're not using GNU ld we use -z text
13119 # though, which does catch some bad symbols but isn't as heavy-handed
13121 no_undefined_flag_CXX='${wl}-z,text'
13122 allow_undefined_flag_CXX='${wl}-z,nodefs'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13126 hardcode_libdir_separator_CXX=':'
13127 link_all_deplibs_CXX=yes
13128 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13129 runpath_var='LD_RUN_PATH'
13131 case $cc_basename in
13133 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13136 '"$old_archive_cmds_CXX"
13137 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13138 '"$reload_cmds_CXX"
13141 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148 case $cc_basename in
13150 # NonStop-UX NCC 3.20
13151 # FIXME: insert proper C++ library support
13155 # FIXME: insert proper C++ library support
13162 # FIXME: insert proper C++ library support
13167 # FIXME: insert proper C++ library support
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13173 $as_echo "$ld_shlibs_CXX" >&6; }
13174 test "$ld_shlibs_CXX" = no && can_build_shared=no
13180 ## There is no encapsulation within the following macros, do not change
13181 ## the running order or otherwise move them around unless you know exactly
13182 ## what you are doing...
13183 # Dependencies to place before and after the object being linked:
13184 predep_objects_CXX=
13185 postdep_objects_CXX=
13188 compiler_lib_search_path_CXX=
13190 cat > conftest.$ac_ext <<_LT_EOF
13194 Foo (void) { a = 0; }
13200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13201 (eval $ac_compile) 2>&5
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 # Parse the compiler output and extract the necessary
13206 # objects, libraries and library flags.
13208 # Sentinel used to keep track of whether or not we are before
13209 # the conftest object file.
13210 pre_test_object_deps_done=no
13212 for p in `eval "$output_verbose_link_cmd"`; do
13216 # Some compilers place space between "-{L,R}" and the path.
13217 # Remove the space.
13218 if test $p = "-L" ||
13219 test $p = "-R"; then
13226 if test "$pre_test_object_deps_done" = no; then
13229 # Internal compiler library paths should come after those
13230 # provided the user. The postdeps already come after the
13231 # user supplied libs so there is no need to process them.
13232 if test -z "$compiler_lib_search_path_CXX"; then
13233 compiler_lib_search_path_CXX="${prev}${p}"
13235 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13238 # The "-l" case would never come before the object being
13239 # linked, so don't bother handling this case.
13242 if test -z "$postdeps_CXX"; then
13243 postdeps_CXX="${prev}${p}"
13245 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13251 # This assumes that the test object file only shows up
13252 # once in the compiler output.
13253 if test "$p" = "conftest.$objext"; then
13254 pre_test_object_deps_done=yes
13258 if test "$pre_test_object_deps_done" = no; then
13259 if test -z "$predep_objects_CXX"; then
13260 predep_objects_CXX="$p"
13262 predep_objects_CXX="$predep_objects_CXX $p"
13265 if test -z "$postdep_objects_CXX"; then
13266 postdep_objects_CXX="$p"
13268 postdep_objects_CXX="$postdep_objects_CXX $p"
13273 *) ;; # Ignore the rest.
13281 echo "libtool.m4: error: problem compiling CXX test program"
13284 $RM -f confest.$objext
13286 # PORTME: override above test on systems where it is broken
13289 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13290 # hack all around it, let's just trust "g++" to DTRT.
13291 predep_objects_CXX=
13292 postdep_objects_CXX=
13297 case `$CC -V 2>&1 | sed 5q` in
13301 # The more standards-conforming stlport4 library is
13302 # incompatible with the Cstd library. Avoid specifying
13303 # it if it's in CXXFLAGS. Ignore libCrun as
13304 # -library=stlport4 depends on it.
13305 case " $CXX $CXXFLAGS " in
13306 *" -library=stlport4 "*)
13307 solaris_use_stlport4=yes
13311 if test "$solaris_use_stlport4" != yes; then
13312 postdeps_CXX='-library=Cstd -library=Crun'
13319 case $cc_basename in
13321 # The more standards-conforming stlport4 library is
13322 # incompatible with the Cstd library. Avoid specifying
13323 # it if it's in CXXFLAGS. Ignore libCrun as
13324 # -library=stlport4 depends on it.
13325 case " $CXX $CXXFLAGS " in
13326 *" -library=stlport4 "*)
13327 solaris_use_stlport4=yes
13331 # Adding this requires a known-good setup of shared libraries for
13332 # Sun compiler versions before 5.6, else PIC objects from an old
13333 # archive will be linked into the output, leading to subtle bugs.
13334 if test "$solaris_use_stlport4" != yes; then
13335 postdeps_CXX='-library=Cstd -library=Crun'
13343 case " $postdeps_CXX " in
13344 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13346 compiler_lib_search_dirs_CXX=
13347 if test -n "${compiler_lib_search_path_CXX}"; then
13348 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13381 lt_prog_compiler_wl_CXX=
13382 lt_prog_compiler_pic_CXX=
13383 lt_prog_compiler_static_CXX=
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13386 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13388 # C++ specific cases for pic, static, wl, etc.
13389 if test "$GXX" = yes; then
13390 lt_prog_compiler_wl_CXX='-Wl,'
13391 lt_prog_compiler_static_CXX='-static'
13395 # All AIX code is PIC.
13396 if test "$host_cpu" = ia64; then
13397 # AIX 5 now supports IA64 processor
13398 lt_prog_compiler_static_CXX='-Bstatic'
13405 # see comment about AmigaOS4 .so support
13406 lt_prog_compiler_pic_CXX='-fPIC'
13409 # FIXME: we need at least 68020 code to build shared libraries, but
13410 # adding the `-m68020' flag to GCC prevents building anything better,
13412 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13417 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13418 # PIC is the default for these OSes.
13420 mingw* | cygwin* | os2* | pw32* | cegcc*)
13421 # This hack is so that the source file can tell whether it is being
13422 # built for inclusion in a dll (and should export symbols for example).
13423 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13424 # (--disable-auto-import) libraries
13425 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13427 darwin* | rhapsody*)
13428 # PIC is the default on this platform
13429 # Common symbols not allowed in MH_DYLIB files
13430 lt_prog_compiler_pic_CXX='-fno-common'
13433 # DJGPP does not support shared libraries at all
13434 lt_prog_compiler_pic_CXX=
13437 # PIC is the default for Haiku.
13438 # The "-static" flag exists, but is broken.
13439 lt_prog_compiler_static_CXX=
13442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13443 # Instead, we relocate shared libraries at runtime.
13446 if test -d /usr/nec; then
13447 lt_prog_compiler_pic_CXX=-Kconform_pic
13451 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13452 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13453 # sets the default TLS model and affects inlining.
13458 lt_prog_compiler_pic_CXX='-fPIC'
13463 # QNX uses GNU C++, but need to define -shared option too, otherwise
13464 # it will coredump.
13465 lt_prog_compiler_pic_CXX='-fPIC -shared'
13468 lt_prog_compiler_pic_CXX='-fPIC'
13474 # All AIX code is PIC.
13475 if test "$host_cpu" = ia64; then
13476 # AIX 5 now supports IA64 processor
13477 lt_prog_compiler_static_CXX='-Bstatic'
13479 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13483 case $cc_basename in
13485 # Green Hills C++ Compiler
13486 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13491 case $cc_basename in
13493 lt_prog_compiler_pic_CXX='-KPIC'
13496 # Green Hills C++ Compiler
13497 lt_prog_compiler_pic_CXX='-pic'
13503 freebsd* | dragonfly*)
13504 # FreeBSD uses GNU C++
13506 hpux9* | hpux10* | hpux11*)
13507 case $cc_basename in
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13511 if test "$host_cpu" != ia64; then
13512 lt_prog_compiler_pic_CXX='+Z'
13516 lt_prog_compiler_wl_CXX='-Wl,'
13517 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13523 lt_prog_compiler_pic_CXX='+Z'
13532 # This is c89, which is MS Visual C++ (no shared libs)
13533 # Anyone wants to do a port?
13535 irix5* | irix6* | nonstopux*)
13536 case $cc_basename in
13538 lt_prog_compiler_wl_CXX='-Wl,'
13539 lt_prog_compiler_static_CXX='-non_shared'
13540 # CC pic flag -KPIC is the default.
13546 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13547 case $cc_basename in
13550 lt_prog_compiler_wl_CXX='--backend -Wl,'
13551 lt_prog_compiler_pic_CXX='-fPIC'
13554 # old Intel C++ for x86_64 which still supported -KPIC.
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_pic_CXX='-KPIC'
13557 lt_prog_compiler_static_CXX='-static'
13560 # Intel C++, used to be incompatible with GCC.
13561 # ICC 10 doesn't accept -KPIC any more.
13562 lt_prog_compiler_wl_CXX='-Wl,'
13563 lt_prog_compiler_pic_CXX='-fPIC'
13564 lt_prog_compiler_static_CXX='-static'
13567 # Portland Group C++ compiler
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_pic_CXX='-fpic'
13570 lt_prog_compiler_static_CXX='-Bstatic'
13574 # Make sure the PIC flag is empty. It appears that all Alpha
13575 # Linux and Compaq Tru64 Unix objects are PIC.
13576 lt_prog_compiler_pic_CXX=
13577 lt_prog_compiler_static_CXX='-non_shared'
13579 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13580 # IBM XL 8.0, 9.0 on PPC and BlueGene
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-qpic'
13583 lt_prog_compiler_static_CXX='-qstaticlink'
13586 case `$CC -V 2>&1 | sed 5q` in
13589 lt_prog_compiler_pic_CXX='-KPIC'
13590 lt_prog_compiler_static_CXX='-Bstatic'
13591 lt_prog_compiler_wl_CXX='-Qoption ld '
13602 case $cc_basename in
13604 lt_prog_compiler_pic_CXX='-W c,exportall'
13613 # QNX uses GNU C++, but need to define -shared option too, otherwise
13614 # it will coredump.
13615 lt_prog_compiler_pic_CXX='-fPIC -shared'
13617 osf3* | osf4* | osf5*)
13618 case $cc_basename in
13620 lt_prog_compiler_wl_CXX='--backend -Wl,'
13623 # Rational C++ 2.4.1
13624 lt_prog_compiler_pic_CXX='-pic'
13627 # Digital/Compaq C++
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 # Make sure the PIC flag is empty. It appears that all Alpha
13630 # Linux and Compaq Tru64 Unix objects are PIC.
13631 lt_prog_compiler_pic_CXX=
13632 lt_prog_compiler_static_CXX='-non_shared'
13641 case $cc_basename in
13643 # Sun C++ 4.2, 5.x and Centerline C++
13644 lt_prog_compiler_pic_CXX='-KPIC'
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 lt_prog_compiler_wl_CXX='-Qoption ld '
13649 # Green Hills C++ Compiler
13650 lt_prog_compiler_pic_CXX='-PIC'
13657 case $cc_basename in
13660 lt_prog_compiler_pic_CXX='-pic'
13661 lt_prog_compiler_static_CXX='-Bstatic'
13665 lt_prog_compiler_pic_CXX='-pic'
13671 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13672 case $cc_basename in
13674 lt_prog_compiler_wl_CXX='-Wl,'
13675 lt_prog_compiler_pic_CXX='-KPIC'
13676 lt_prog_compiler_static_CXX='-Bstatic'
13681 case $cc_basename in
13683 # NonStop-UX NCC 3.20
13684 lt_prog_compiler_pic_CXX='-KPIC'
13693 lt_prog_compiler_can_build_shared_CXX=no
13699 # For platforms which do not support PIC, -DPIC is meaningless:
13701 lt_prog_compiler_pic_CXX=
13704 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13708 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13713 # Check to make sure the PIC flag actually works.
13715 if test -n "$lt_prog_compiler_pic_CXX"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13717 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13718 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13719 $as_echo_n "(cached) " >&6
13721 lt_cv_prog_compiler_pic_works_CXX=no
13722 ac_outfile=conftest.$ac_objext
13723 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13724 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13725 # Insert the option either (1) after the last *FLAGS variable, or
13726 # (2) before a word containing "conftest.", or (3) at the end.
13727 # Note that $ac_compile itself does not contain backslashes and begins
13728 # with a dollar sign (not a hyphen), so the echo should work correctly.
13729 # The option is referenced via a variable to avoid confusing sed.
13730 lt_compile=`echo "$ac_compile" | $SED \
13731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13733 -e 's:$: $lt_compiler_flag:'`
13734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13735 (eval "$lt_compile" 2>conftest.err)
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 if (exit $ac_status) && test -s "$ac_outfile"; then
13740 # The compiler can only warn and ignore the option if not recognized
13741 # So say no if there are warnings other than the usual output.
13742 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13743 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13744 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13745 lt_cv_prog_compiler_pic_works_CXX=yes
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13752 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13754 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13755 case $lt_prog_compiler_pic_CXX in
13757 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13760 lt_prog_compiler_pic_CXX=
13761 lt_prog_compiler_can_build_shared_CXX=no
13769 # Check to make sure the static flag actually works.
13771 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13773 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13774 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13775 $as_echo_n "(cached) " >&6
13777 lt_cv_prog_compiler_static_works_CXX=no
13778 save_LDFLAGS="$LDFLAGS"
13779 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13780 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13781 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13782 # The linker can only warn and ignore the option if not recognized
13783 # So say no if there are warnings
13784 if test -s conftest.err; then
13785 # Append any errors to the config.log.
13786 cat conftest.err 1>&5
13787 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13789 if diff conftest.exp conftest.er2 >/dev/null; then
13790 lt_cv_prog_compiler_static_works_CXX=yes
13793 lt_cv_prog_compiler_static_works_CXX=yes
13797 LDFLAGS="$save_LDFLAGS"
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13801 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13803 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13806 lt_prog_compiler_static_CXX=
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13814 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13815 $as_echo_n "(cached) " >&6
13817 lt_cv_prog_compiler_c_o_CXX=no
13818 $RM -r conftest 2>/dev/null
13822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13824 lt_compiler_flag="-o out/conftest2.$ac_objext"
13825 # Insert the option either (1) after the last *FLAGS variable, or
13826 # (2) before a word containing "conftest.", or (3) at the end.
13827 # Note that $ac_compile itself does not contain backslashes and begins
13828 # with a dollar sign (not a hyphen), so the echo should work correctly.
13829 lt_compile=`echo "$ac_compile" | $SED \
13830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13832 -e 's:$: $lt_compiler_flag:'`
13833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13834 (eval "$lt_compile" 2>out/conftest.err)
13836 cat out/conftest.err >&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13840 # The compiler can only warn and ignore the option if not recognized
13841 # So say no if there are warnings
13842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13845 lt_cv_prog_compiler_c_o_CXX=yes
13850 # SGI C++ compiler will create directory out/ii_files/ for
13851 # template instantiation
13852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13853 $RM out/* && rmdir out
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13860 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13917 hard_links="nottested"
13918 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13919 # do not overwrite the value of need_locks provided by the user
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13921 $as_echo_n "checking if we can lock with hard links... " >&6; }
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13926 ln conftest.a conftest.b 2>&5 || hard_links=no
13927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13929 $as_echo "$hard_links" >&6; }
13930 if test "$hard_links" = no; then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13932 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13947 # If we're using GNU nm, then we don't want the "-C" option.
13948 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13949 # Also, AIX nm treats weak defined symbols like other global defined
13950 # symbols, whereas GNU nm marks them as "W".
13951 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13952 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13954 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13958 export_symbols_cmds_CXX="$ltdll_cmds"
13960 cygwin* | mingw* | cegcc*)
13961 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13964 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13967 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13970 $as_echo "$ld_shlibs_CXX" >&6; }
13971 test "$ld_shlibs_CXX" = no && can_build_shared=no
13973 with_gnu_ld_CXX=$with_gnu_ld
13981 # Do we need to explicitly link libc?
13983 case "x$archive_cmds_need_lc_CXX" in
13985 # Assume -lc should be added
13986 archive_cmds_need_lc_CXX=yes
13988 if test "$enable_shared" = yes && test "$GCC" = yes; then
13989 case $archive_cmds_CXX in
13991 # FIXME: we may have to deal with multi-command sequences.
13994 # Test whether the compiler implicitly links with -lc since on some
13995 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13996 # to ld, don't add -lc before -lgcc.
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13998 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13999 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14000 $as_echo_n "(cached) " >&6
14003 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14006 (eval $ac_compile) 2>&5
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; } 2>conftest.err; then
14012 libobjs=conftest.$ac_objext
14014 wl=$lt_prog_compiler_wl_CXX
14015 pic_flag=$lt_prog_compiler_pic_CXX
14021 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14022 allow_undefined_flag_CXX=
14023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14024 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14027 test $ac_status = 0; }
14029 lt_cv_archive_cmds_need_lc_CXX=no
14031 lt_cv_archive_cmds_need_lc_CXX=yes
14033 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14035 cat conftest.err 1>&5
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14041 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14042 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14115 library_names_spec=
14116 libname_spec='lib$name'
14120 postuninstall_cmds=
14124 shlibpath_overrides_runpath=unknown
14126 dynamic_linker="$host_os ld.so"
14127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14128 need_lib_prefix=unknown
14129 hardcode_into_libs=no
14131 # when you set need_version to no, make sure it does not cause -set_version
14132 # flags to be left without arguments
14133 need_version=unknown
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14139 shlibpath_var=LIBPATH
14141 # AIX 3 has no versioning support, so we append a major version to the name.
14142 soname_spec='${libname}${release}${shared_ext}$major'
14149 hardcode_into_libs=yes
14150 if test "$host_cpu" = ia64; then
14151 # AIX 5 supports IA64
14152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14153 shlibpath_var=LD_LIBRARY_PATH
14155 # With GCC up to 2.95.x, collect2 would create an import file
14156 # for dependence libraries. The import file would start with
14157 # the line `#! .'. This would cause the generated library to
14158 # depend on `.', always an invalid library. This was fixed in
14159 # development snapshots of GCC prior to 3.0.
14161 aix4 | aix4.[01] | aix4.[01].*)
14162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14167 can_build_shared=no
14171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14172 # soname into executable. Probably we can add versioning support to
14173 # collect2, so additional links can be useful in future.
14174 if test "$aix_use_runtimelinking" = yes; then
14175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14176 # instead of lib<name>.a to let people know that these are not
14177 # typical AIX shared libraries.
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 # We preserve .a as extension for shared libraries through AIX4.2
14181 # and later when we are not doing run time linking.
14182 library_names_spec='${libname}${release}.a $libname.a'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14185 shlibpath_var=LIBPATH
14192 # Since July 2007 AmigaOS4 officially supports .so libraries.
14193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14197 library_names_spec='$libname.ixlibrary $libname.a'
14198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14199 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14205 library_names_spec='${libname}${shared_ext}'
14206 dynamic_linker="$host_os ld.so"
14207 shlibpath_var=LIBRARY_PATH
14213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14214 soname_spec='${libname}${release}${shared_ext}$major'
14215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14216 shlibpath_var=LD_LIBRARY_PATH
14217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14219 # the default ld.so.conf also contains /usr/contrib/lib and
14220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14221 # libtool to hard-code these into programs
14224 cygwin* | mingw* | pw32* | cegcc*)
14225 version_type=windows
14230 case $GCC,$host_os in
14231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14232 library_names_spec='$libname.dll.a'
14233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14234 postinstall_cmds='base_file=`basename \${file}`~
14235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14236 dldir=$destdir/`dirname \$dlpath`~
14237 test -d \$dldir || mkdir -p \$dldir~
14238 $install_prog $dir/$dlname \$dldir/$dlname~
14239 chmod a+x \$dldir/$dlname~
14240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14244 dlpath=$dir/\$dldll~
14246 shlibpath_overrides_runpath=yes
14250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14255 # MinGW DLLs use traditional 'lib' prefix
14256 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14259 # pw32 DLLs use 'pw' prefix rather than 'lib'
14260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14266 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14269 dynamic_linker='Win32 ld.exe'
14270 # FIXME: first we should search . and the directory the executable is in
14274 darwin* | rhapsody*)
14275 dynamic_linker="$host_os dyld"
14276 version_type=darwin
14279 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14280 soname_spec='${libname}${release}${major}$shared_ext'
14281 shlibpath_overrides_runpath=yes
14282 shlibpath_var=DYLD_LIBRARY_PATH
14283 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LD_LIBRARY_PATH
14297 freebsd* | dragonfly*)
14298 # DragonFly does not have aout. When/if they implement a new
14299 # versioning mechanism, adjust this.
14300 if test -x /usr/bin/objformat; then
14301 objformat=`/usr/bin/objformat`
14304 freebsd[123]*) objformat=aout ;;
14305 *) objformat=elf ;;
14308 version_type=freebsd-$objformat
14309 case $version_type in
14311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14320 shlibpath_var=LD_LIBRARY_PATH
14323 shlibpath_overrides_runpath=yes
14325 freebsd3.[01]* | freebsdelf3.[01]*)
14326 shlibpath_overrides_runpath=yes
14327 hardcode_into_libs=yes
14329 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14330 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14331 shlibpath_overrides_runpath=no
14332 hardcode_into_libs=yes
14334 *) # from 4.6 on, and DragonFly
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14346 soname_spec='${libname}${release}${shared_ext}$major'
14347 shlibpath_var=LD_LIBRARY_PATH
14348 hardcode_into_libs=yes
14355 dynamic_linker="$host_os runtime_loader"
14356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14357 soname_spec='${libname}${release}${shared_ext}$major'
14358 shlibpath_var=LIBRARY_PATH
14359 shlibpath_overrides_runpath=yes
14360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14361 hardcode_into_libs=yes
14364 hpux9* | hpux10* | hpux11*)
14365 # Give a soname corresponding to the major version so that dld.sl refuses to
14366 # link against other versions.
14373 hardcode_into_libs=yes
14374 dynamic_linker="$host_os dld.so"
14375 shlibpath_var=LD_LIBRARY_PATH
14376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 if test "X$HPUX_IA64_MODE" = X32; then
14380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14388 hardcode_into_libs=yes
14389 dynamic_linker="$host_os dld.sl"
14390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14399 dynamic_linker="$host_os dld.sl"
14400 shlibpath_var=SHLIB_PATH
14401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14407 postinstall_cmds='chmod 555 $lib'
14408 # or fails outright, so override atomically:
14409 install_override_mode=555
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=no
14421 hardcode_into_libs=yes
14424 irix5* | irix6* | nonstopux*)
14426 nonstopux*) version_type=nonstopux ;;
14428 if test "$lt_cv_prog_gnu_ld" = yes; then
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14439 irix5* | nonstopux*)
14440 libsuff= shlibsuff=
14443 case $LD in # libtool.m4 will add one of these switches to LD
14444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14445 libsuff= shlibsuff= libmagic=32-bit;;
14446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14447 libsuff=32 shlibsuff=N32 libmagic=N32;;
14448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14450 *) libsuff= shlibsuff= libmagic=never-match;;
14454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14455 shlibpath_overrides_runpath=no
14456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14458 hardcode_into_libs=yes
14461 # No shared lib support for Linux oldld, aout, or coff.
14462 linux*oldld* | linux*aout* | linux*coff*)
14466 # This must be Linux ELF.
14467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 shlibpath_overrides_runpath=no
14477 # Some binutils ld are patched to set DT_RUNPATH
14478 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14479 $as_echo_n "(cached) " >&6
14481 lt_cv_shlibpath_overrides_runpath=no
14482 save_LDFLAGS=$LDFLAGS
14483 save_libdir=$libdir
14484 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14485 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14486 if test x$gcc_no_link = xyes; then
14487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14501 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14502 lt_cv_shlibpath_overrides_runpath=yes
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LDFLAGS=$save_LDFLAGS
14508 libdir=$save_libdir
14512 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14514 # This implies no fast_install, which is unacceptable.
14515 # Some rework will be needed to allow for fast_install
14516 # before this can be enabled.
14517 hardcode_into_libs=yes
14519 # Append ld.so.conf contents to the search path
14520 if test -f /etc/ld.so.conf; then
14521 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14522 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14525 # We used to test for /lib/ld.so.1 and disable shared libraries on
14526 # powerpc, because MkLinux only supported shared libraries with the
14527 # GNU dynamic linker. Since this was broken with cross compilers,
14528 # most powerpc-linux boxes support dynamic linking these days and
14529 # people can always --disable-shared, the test was removed, and we
14530 # assume the GNU/Linux dynamic linker is in use.
14531 dynamic_linker='GNU/Linux ld.so'
14538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14541 dynamic_linker='NetBSD (a.out) ld.so'
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 dynamic_linker='NetBSD ld.elf_so'
14547 shlibpath_var=LD_LIBRARY_PATH
14548 shlibpath_overrides_runpath=yes
14549 hardcode_into_libs=yes
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 shlibpath_var=LD_LIBRARY_PATH
14556 shlibpath_overrides_runpath=yes
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 soname_spec='${libname}${release}${shared_ext}$major'
14565 shlibpath_var=LD_LIBRARY_PATH
14566 shlibpath_overrides_runpath=no
14567 hardcode_into_libs=yes
14568 dynamic_linker='ldqnx.so'
14573 sys_lib_dlsearch_path_spec="/usr/lib"
14575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14577 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14578 *) need_version=no ;;
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14585 openbsd2.[89] | openbsd2.[89].*)
14586 shlibpath_overrides_runpath=no
14589 shlibpath_overrides_runpath=yes
14593 shlibpath_overrides_runpath=yes
14598 libname_spec='$name'
14601 library_names_spec='$libname${shared_ext} $libname.a'
14602 dynamic_linker='OS/2 ld.exe'
14603 shlibpath_var=LIBPATH
14606 osf3* | osf4* | osf5*)
14610 soname_spec='${libname}${release}${shared_ext}$major'
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 shlibpath_var=LD_LIBRARY_PATH
14613 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14614 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 shlibpath_overrides_runpath=yes
14629 hardcode_into_libs=yes
14630 # ldd complains unless libraries are executable
14631 postinstall_cmds='chmod +x $lib'
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14637 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=yes
14640 if test "$with_gnu_ld" = yes; then
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14651 case $host_vendor in
14653 shlibpath_overrides_runpath=no
14655 runpath_var=LD_RUN_PATH
14663 shlibpath_overrides_runpath=no
14664 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14670 if test -d /usr/nec ;then
14672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14673 soname_spec='$libname${shared_ext}.$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14679 version_type=freebsd-elf
14682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14683 soname_spec='${libname}${release}${shared_ext}$major'
14684 shlibpath_var=LD_LIBRARY_PATH
14685 shlibpath_overrides_runpath=yes
14686 hardcode_into_libs=yes
14687 if test "$with_gnu_ld" = yes; then
14688 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14690 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14693 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14697 sys_lib_dlsearch_path_spec='/usr/lib'
14701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 shlibpath_var=LD_LIBRARY_PATH
14707 shlibpath_overrides_runpath=no
14708 hardcode_into_libs=yes
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14715 shlibpath_var=LD_LIBRARY_PATH
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14723 $as_echo "$dynamic_linker" >&6; }
14724 test "$dynamic_linker" = no && can_build_shared=no
14726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14727 if test "$GCC" = yes; then
14728 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14732 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14735 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14777 hardcode_action_CXX=
14778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14779 test -n "$runpath_var_CXX" ||
14780 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14782 # We can hardcode non-existent directories.
14783 if test "$hardcode_direct_CXX" != no &&
14784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14785 # have to relink, otherwise we might link with an installed library
14786 # when we should be linking with a yet-to-be-installed one
14787 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14788 test "$hardcode_minus_L_CXX" != no; then
14789 # Linking always hardcodes the temporary library directory.
14790 hardcode_action_CXX=relink
14792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14793 hardcode_action_CXX=immediate
14796 # We cannot hardcode anything, or else we can only hardcode existing
14798 hardcode_action_CXX=unsupported
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14801 $as_echo "$hardcode_action_CXX" >&6; }
14803 if test "$hardcode_action_CXX" = relink ||
14804 test "$inherit_rpath_CXX" = yes; then
14805 # Fast installation is not supported
14806 enable_fast_install=no
14807 elif test "$shlibpath_overrides_runpath" = yes ||
14808 test "$enable_shared" = no; then
14809 # Fast installation is not necessary
14810 enable_fast_install=needless
14819 fi # test -n "$compiler"
14825 with_gnu_ld=$lt_save_with_gnu_ld
14826 lt_cv_path_LDCXX=$lt_cv_path_LD
14827 lt_cv_path_LD=$lt_save_path_LD
14828 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14829 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14830 fi # test "$_lt_caught_CXX_error" != yes
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14850 ac_config_commands="$ac_config_commands libtool"
14855 # Only expand once:
14862 *-cygwin* | *-mingw*)
14863 # 'host' will be top-level target in the case of a target lib,
14864 # we must compare to with_cross_host to decide if this is a native
14865 # or cross-compiler and select where to install dlls appropriately.
14866 if test -n "$with_cross_host" &&
14867 test x"$with_cross_host" != x"no"; then
14868 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14870 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14883 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14884 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14886 # Possibly disable most of the library.
14887 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14888 ## than just ignoring the results. Faster /and/ more correct, win win.
14890 # Check whether --enable-hosted-libstdcxx was given.
14891 if test "${enable_hosted_libstdcxx+set}" = set; then :
14892 enableval=$enable_hosted_libstdcxx;
14895 arm*-*-symbianelf*)
14896 enable_hosted_libstdcxx=no
14899 enable_hosted_libstdcxx=yes
14904 if test "$enable_hosted_libstdcxx" = no; then
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14906 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14909 enable_abi_check=no
14910 enable_libstdcxx_pch=no
14917 cat >>confdefs.h <<_ACEOF
14918 #define _GLIBCXX_HOSTED $hosted_define
14923 # Enable compiler support that doesn't require linking.
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14926 $as_echo_n "checking for exception model to use... " >&6; }
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14934 # Check whether --enable-sjlj-exceptions was given.
14935 if test "${enable_sjlj_exceptions+set}" = set; then :
14936 enableval=$enable_sjlj_exceptions;
14937 case "$enableval" in
14939 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14943 enable_sjlj_exceptions=auto
14948 if test $enable_sjlj_exceptions = auto; then
14949 # Botheration. Now we've got to detect the exception model. Link tests
14950 # against libgcc.a are problematic since we've not been given proper -L
14951 # bits for single-tree newlib and libgloss.
14953 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14954 cat > conftest.$ac_ext << EOF
14955 #line 14955 "configure"
14956 struct S { ~S(); };
14964 old_CXXFLAGS="$CXXFLAGS"
14966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967 (eval $ac_compile) 2>&5
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; }; then
14971 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14972 enable_sjlj_exceptions=yes
14973 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14974 enable_sjlj_exceptions=no
14975 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14976 enable_sjlj_exceptions=no
14979 CXXFLAGS="$old_CXXFLAGS"
14983 # This is a tad weird, for hysterical raisins. We have to map
14984 # enable/disable to two different models.
14985 case $enable_sjlj_exceptions in
14988 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14990 ac_exception_model_name=sjlj
14993 ac_exception_model_name="call frame"
14996 as_fn_error "unable to detect exception model" "$LINENO" 5
15000 ac_cpp='$CPP $CPPFLAGS'
15001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15006 $as_echo "$ac_exception_model_name" >&6; }
15009 # Check whether --enable-libstdcxx-pch was given.
15010 if test "${enable_libstdcxx_pch+set}" = set; then :
15011 enableval=$enable_libstdcxx_pch;
15012 case "$enableval" in
15014 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15018 enable_libstdcxx_pch=$is_hosted
15022 if test $enable_libstdcxx_pch = yes; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15024 $as_echo_n "checking for compiler with PCH support... " >&6; }
15025 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15026 $as_echo_n "(cached) " >&6
15028 ac_save_CXXFLAGS="$CXXFLAGS"
15029 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15032 ac_cpp='$CXXCPP $CPPFLAGS'
15033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15037 echo '#include <math.h>' > conftest.h
15038 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15039 -o conftest.h.gch 1>&5 2>&1 &&
15040 echo '#error "pch failed"' > conftest.h &&
15041 echo '#include "conftest.h"' > conftest.cc &&
15042 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15044 glibcxx_cv_prog_CXX_pch=yes
15046 glibcxx_cv_prog_CXX_pch=no
15049 CXXFLAGS=$ac_save_CXXFLAGS
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15059 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15060 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15064 $as_echo_n "checking for enabled PCH... " >&6; }
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15066 $as_echo "$enable_libstdcxx_pch" >&6; }
15069 if test $enable_libstdcxx_pch = yes; then
15070 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15072 glibcxx_PCHFLAGS=""
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15078 $as_echo_n "checking for thread model used by GCC... " >&6; }
15079 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15081 $as_echo "$target_thread_file" >&6; }
15083 if test $target_thread_file != single; then
15085 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15089 glibcxx_thread_h=gthr-$target_thread_file.h
15091 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15092 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15103 ac_cpp='$CXXCPP $CPPFLAGS'
15104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15108 old_CXXFLAGS="$CXXFLAGS"
15110 # Do link tests if possible, instead asm tests, limited to some platforms
15111 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15112 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15113 atomic_builtins_link_tests=no
15114 if test x$gcc_no_link != xyes; then
15115 # Can do link tests. Limit to some tested platforms
15117 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15118 atomic_builtins_link_tests=yes
15123 if test x$atomic_builtins_link_tests = xyes; then
15127 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15130 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15131 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15132 $as_echo_n "(cached) " >&6
15135 if test x$gcc_no_link = xyes; then
15136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15144 typedef bool atomic_type;
15147 const atomic_type c3(0);
15148 __sync_fetch_and_add(&c1, c2);
15149 __sync_val_compare_and_swap(&c1, c3, c2);
15150 __sync_lock_test_and_set(&c1, c3);
15151 __sync_lock_release(&c1);
15152 __sync_synchronize();
15157 if ac_fn_cxx_try_link "$LINENO"; then :
15158 glibcxx_cv_atomic_bool=yes
15160 glibcxx_cv_atomic_bool=no
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15167 if test $glibcxx_cv_atomic_bool = yes; then
15169 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15173 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15176 $as_echo_n "checking for atomic builtins for short... " >&6; }
15177 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15178 $as_echo_n "(cached) " >&6
15181 if test x$gcc_no_link = xyes; then
15182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15190 typedef short atomic_type;
15193 const atomic_type c3(0);
15194 __sync_fetch_and_add(&c1, c2);
15195 __sync_val_compare_and_swap(&c1, c3, c2);
15196 __sync_lock_test_and_set(&c1, c3);
15197 __sync_lock_release(&c1);
15198 __sync_synchronize();
15203 if ac_fn_cxx_try_link "$LINENO"; then :
15204 glibcxx_cv_atomic_short=yes
15206 glibcxx_cv_atomic_short=no
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15213 if test $glibcxx_cv_atomic_short = yes; then
15215 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15219 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15222 $as_echo_n "checking for atomic builtins for int... " >&6; }
15223 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15224 $as_echo_n "(cached) " >&6
15227 if test x$gcc_no_link = xyes; then
15228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h. */
15236 typedef int atomic_type;
15239 const atomic_type c3(0);
15240 __sync_fetch_and_add(&c1, c2);
15241 __sync_val_compare_and_swap(&c1, c3, c2);
15242 __sync_lock_test_and_set(&c1, c3);
15243 __sync_lock_release(&c1);
15244 __sync_synchronize();
15249 if ac_fn_cxx_try_link "$LINENO"; then :
15250 glibcxx_cv_atomic_int=yes
15252 glibcxx_cv_atomic_int=no
15254 rm -f core conftest.err conftest.$ac_objext \
15255 conftest$ac_exeext conftest.$ac_ext
15259 if test $glibcxx_cv_atomic_int = yes; then
15261 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15265 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15268 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15269 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15270 $as_echo_n "(cached) " >&6
15273 if test x$gcc_no_link = xyes; then
15274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15282 typedef long long atomic_type;
15285 const atomic_type c3(0);
15286 __sync_fetch_and_add(&c1, c2);
15287 __sync_val_compare_and_swap(&c1, c3, c2);
15288 __sync_lock_test_and_set(&c1, c3);
15289 __sync_lock_release(&c1);
15290 __sync_synchronize();
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296 glibcxx_cv_atomic_long_long=yes
15298 glibcxx_cv_atomic_long_long=no
15300 rm -f core conftest.err conftest.$ac_objext \
15301 conftest$ac_exeext conftest.$ac_ext
15305 if test $glibcxx_cv_atomic_long_long = yes; then
15307 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15311 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15317 # Compile unoptimized.
15320 # Fake what AC_TRY_COMPILE does.
15322 cat > conftest.$ac_ext << EOF
15323 #line 15323 "configure"
15326 typedef bool atomic_type;
15329 const atomic_type c3(0);
15330 __sync_fetch_and_add(&c1, c2);
15331 __sync_val_compare_and_swap(&c1, c3, c2);
15332 __sync_lock_test_and_set(&c1, c3);
15333 __sync_lock_release(&c1);
15334 __sync_synchronize();
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15340 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15342 (eval $ac_compile) 2>&5
15344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15345 test $ac_status = 0; }; then
15346 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15347 glibcxx_cv_atomic_bool=no
15350 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15352 glibcxx_cv_atomic_bool=yes
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15356 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15359 cat > conftest.$ac_ext << EOF
15360 #line 15360 "configure"
15363 typedef short atomic_type;
15366 const atomic_type c3(0);
15367 __sync_fetch_and_add(&c1, c2);
15368 __sync_val_compare_and_swap(&c1, c3, c2);
15369 __sync_lock_test_and_set(&c1, c3);
15370 __sync_lock_release(&c1);
15371 __sync_synchronize();
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15377 $as_echo_n "checking for atomic builtins for short... " >&6; }
15378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15379 (eval $ac_compile) 2>&5
15381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382 test $ac_status = 0; }; then
15383 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15384 glibcxx_cv_atomic_short=no
15387 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15389 glibcxx_cv_atomic_short=yes
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15393 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15396 cat > conftest.$ac_ext << EOF
15397 #line 15397 "configure"
15400 // NB: _Atomic_word not necessarily int.
15401 typedef int atomic_type;
15404 const atomic_type c3(0);
15405 __sync_fetch_and_add(&c1, c2);
15406 __sync_val_compare_and_swap(&c1, c3, c2);
15407 __sync_lock_test_and_set(&c1, c3);
15408 __sync_lock_release(&c1);
15409 __sync_synchronize();
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15415 $as_echo_n "checking for atomic builtins for int... " >&6; }
15416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15417 (eval $ac_compile) 2>&5
15419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15420 test $ac_status = 0; }; then
15421 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15422 glibcxx_cv_atomic_int=no
15425 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15427 glibcxx_cv_atomic_int=yes
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15431 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15434 cat > conftest.$ac_ext << EOF
15435 #line 15435 "configure"
15438 typedef long long atomic_type;
15441 const atomic_type c3(0);
15442 __sync_fetch_and_add(&c1, c2);
15443 __sync_val_compare_and_swap(&c1, c3, c2);
15444 __sync_lock_test_and_set(&c1, c3);
15445 __sync_lock_release(&c1);
15446 __sync_synchronize();
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15452 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15454 (eval $ac_compile) 2>&5
15456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457 test $ac_status = 0; }; then
15458 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15459 glibcxx_cv_atomic_long_long=no
15462 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15464 glibcxx_cv_atomic_long_long=yes
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15468 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15473 CXXFLAGS="$old_CXXFLAGS"
15475 ac_cpp='$CPP $CPPFLAGS'
15476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15481 # Set atomicity_dir to builtins if either of above tests pass.
15482 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15483 atomicity_dir=cpu/generic/atomicity_builtins
15486 # If still generic, set to mutex.
15487 if test $atomicity_dir = "cpu/generic" ; then
15488 atomicity_dir=cpu/generic/atomicity_mutex
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15490 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15491 if test "x$target_thread_file" = xsingle; then
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15493 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15495 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15498 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15500 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15507 # Fake what AC_TRY_COMPILE does, without linking as this is
15508 # unnecessary for this test.
15510 cat > conftest.$ac_ext << EOF
15511 #line 15511 "configure"
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15522 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15524 (eval $ac_compile) 2>&5
15526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15527 test $ac_status = 0; }; then
15529 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15536 $as_echo "$enable_dfp" >&6; }
15540 # Checks for compiler support that doesn't require linking.
15542 # All these tests are for C++; save the language and the compiler flags.
15543 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15544 # found in GLIBCXX_CONFIGURE.
15547 ac_cpp='$CXXCPP $CPPFLAGS'
15548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15552 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15553 ac_save_CXXFLAGS="$CXXFLAGS"
15555 # Check for maintainer-mode bits.
15556 if test x"$USE_MAINTAINER_MODE" = xno; then
15562 # Check for -ffunction-sections -fdata-sections
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15564 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15565 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h. */
15568 int foo; void bar() { };
15577 if ac_fn_cxx_try_compile "$LINENO"; then :
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15583 if test "$ac_test_CXXFLAGS" = set; then
15584 CXXFLAGS="$ac_save_CXXFLAGS"
15586 # this is the suspicious part
15589 if test x"$ac_fdsections" = x"yes"; then
15590 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15593 $as_echo "$ac_fdsections" >&6; }
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605 # Enable all the variable C++ runtime options that don't require linking.
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15608 $as_echo_n "checking for underlying I/O to use... " >&6; }
15609 # Check whether --enable-cstdio was given.
15610 if test "${enable_cstdio+set}" = set; then :
15611 enableval=$enable_cstdio;
15612 case "$enableval" in
15614 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15618 enable_cstdio=stdio
15623 # Now that libio has been removed, you can have any color you want as long
15624 # as it's black. This is one big no-op until other packages are added, but
15625 # showing the framework never hurts.
15626 case ${enable_cstdio} in
15628 CSTDIO_H=config/io/c_io_stdio.h
15629 BASIC_FILE_H=config/io/basic_file_stdio.h
15630 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15632 $as_echo "stdio" >&6; }
15641 # Check whether --enable-clocale was given.
15642 if test "${enable_clocale+set}" = set; then :
15643 enableval=$enable_clocale;
15644 case "$enableval" in
15645 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15646 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15650 enable_clocale=auto
15655 # Deal with gettext issues. Default to not using it (=no) until we detect
15656 # support for it later. Let the user turn it off via --e/d, but let that
15657 # default to on for easier handling.
15659 # Check whether --enable-nls was given.
15660 if test "${enable_nls+set}" = set; then :
15661 enableval=$enable_nls;
15667 # Either a known packaage, or "auto"
15668 if test $enable_clocale = no || test $enable_clocale = yes; then
15669 enable_clocale=auto
15671 enable_clocale_flag=$enable_clocale
15673 # Probe for locale model to use if none specified.
15674 # Default to "generic".
15675 if test $enable_clocale_flag = auto; then
15676 case ${target_os} in
15677 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15678 enable_clocale_flag=gnu
15680 darwin* | freebsd*)
15681 enable_clocale_flag=darwin
15684 enable_clocale_flag=generic
15689 # Sanity check model, and test for special functionality.
15690 if test $enable_clocale_flag = gnu; then
15691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h. */
15694 #include <features.h>
15695 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15701 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15702 enable_clocale_flag=gnu
15704 enable_clocale_flag=generic
15709 # Set it to scream when it hurts.
15710 ac_save_CFLAGS="$CFLAGS"
15711 CFLAGS="-Wimplicit-function-declaration -Werror"
15713 # Use strxfrm_l if available.
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 #define _GNU_SOURCE 1
15717 #include <string.h>
15718 #include <locale.h>
15722 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15727 if ac_fn_c_try_compile "$LINENO"; then :
15729 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15734 # Use strerror_l if available.
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 #define _GNU_SOURCE 1
15738 #include <string.h>
15739 #include <locale.h>
15743 __locale_t loc; strerror_l(5, loc);
15748 if ac_fn_c_try_compile "$LINENO"; then :
15750 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755 CFLAGS="$ac_save_CFLAGS"
15758 # Perhaps use strerror_r if available, and strerror_l isn't.
15759 ac_save_CFLAGS="$CFLAGS"
15760 CFLAGS="-Wimplicit-function-declaration -Werror"
15761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15763 #define _GNU_SOURCE 1
15764 #include <string.h>
15765 #include <locale.h>
15769 char s[128]; strerror_r(5, s, 128);
15774 if ac_fn_c_try_compile "$LINENO"; then :
15776 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15780 CFLAGS="$ac_save_CFLAGS"
15782 # Set configure bits for specified locale package
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15784 $as_echo_n "checking for C locale to use... " >&6; }
15785 case ${enable_clocale_flag} in
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15788 $as_echo "generic" >&6; }
15790 CLOCALE_H=config/locale/generic/c_locale.h
15791 CLOCALE_CC=config/locale/generic/c_locale.cc
15792 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15793 CCOLLATE_CC=config/locale/generic/collate_members.cc
15794 CCTYPE_CC=config/locale/generic/ctype_members.cc
15795 CMESSAGES_H=config/locale/generic/messages_members.h
15796 CMESSAGES_CC=config/locale/generic/messages_members.cc
15797 CMONEY_CC=config/locale/generic/monetary_members.cc
15798 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15799 CTIME_H=config/locale/generic/time_members.h
15800 CTIME_CC=config/locale/generic/time_members.cc
15801 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15805 $as_echo "darwin or freebsd" >&6; }
15807 CLOCALE_H=config/locale/generic/c_locale.h
15808 CLOCALE_CC=config/locale/generic/c_locale.cc
15809 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15810 CCOLLATE_CC=config/locale/generic/collate_members.cc
15811 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15812 CMESSAGES_H=config/locale/generic/messages_members.h
15813 CMESSAGES_CC=config/locale/generic/messages_members.cc
15814 CMONEY_CC=config/locale/generic/monetary_members.cc
15815 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15816 CTIME_H=config/locale/generic/time_members.h
15817 CTIME_CC=config/locale/generic/time_members.cc
15818 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15823 $as_echo "gnu" >&6; }
15825 # Declare intention to use gettext, and add support for specific
15827 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15828 ALL_LINGUAS="de fr"
15830 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15831 # Extract the first word of "msgfmt", so it can be a program name with args.
15832 set dummy msgfmt; ac_word=$2
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15834 $as_echo_n "checking for $ac_word... " >&6; }
15835 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15836 $as_echo_n "(cached) " >&6
15838 if test -n "$check_msgfmt"; then
15839 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15842 for as_dir in $PATH
15845 test -z "$as_dir" && as_dir=.
15846 for ac_exec_ext in '' $ac_executable_extensions; do
15847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15848 ac_cv_prog_check_msgfmt="yes"
15849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15856 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15859 check_msgfmt=$ac_cv_prog_check_msgfmt
15860 if test -n "$check_msgfmt"; then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15862 $as_echo "$check_msgfmt" >&6; }
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15865 $as_echo "no" >&6; }
15869 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15872 # Export the build objects.
15873 for ling in $ALL_LINGUAS; do \
15874 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15875 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15880 CLOCALE_H=config/locale/gnu/c_locale.h
15881 CLOCALE_CC=config/locale/gnu/c_locale.cc
15882 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15883 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15884 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15885 CMESSAGES_H=config/locale/gnu/messages_members.h
15886 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15887 CMONEY_CC=config/locale/gnu/monetary_members.cc
15888 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15889 CTIME_H=config/locale/gnu/time_members.h
15890 CTIME_CC=config/locale/gnu/time_members.cc
15891 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15895 $as_echo "IEEE 1003.1" >&6; }
15897 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15898 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15899 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15900 CCOLLATE_CC=config/locale/generic/collate_members.cc
15901 CCTYPE_CC=config/locale/generic/ctype_members.cc
15902 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15903 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15904 CMONEY_CC=config/locale/generic/monetary_members.cc
15905 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15906 CTIME_H=config/locale/generic/time_members.h
15907 CTIME_CC=config/locale/generic/time_members.cc
15908 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15912 # This is where the testsuite looks for locale catalogs, using the
15913 # -DLOCALEDIR define during testsuite compilation.
15914 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15917 # A standalone libintl (e.g., GNU libintl) may be in use.
15918 if test $USE_NLS = yes; then
15919 for ac_header in libintl.h
15921 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15922 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15923 cat >>confdefs.h <<_ACEOF
15924 #define HAVE_LIBINTL_H 1
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15934 $as_echo_n "checking for library containing gettext... " >&6; }
15935 if test "${ac_cv_search_gettext+set}" = set; then :
15936 $as_echo_n "(cached) " >&6
15938 ac_func_search_save_LIBS=$LIBS
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h. */
15942 /* Override any GCC internal prototype to avoid an error.
15943 Use char because int might match the return type of a GCC
15944 builtin and then its argument prototype would still apply. */
15957 for ac_lib in '' intl; do
15958 if test -z "$ac_lib"; then
15959 ac_res="none required"
15962 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15964 if test x$gcc_no_link = xyes; then
15965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15967 if ac_fn_c_try_link "$LINENO"; then :
15968 ac_cv_search_gettext=$ac_res
15970 rm -f core conftest.err conftest.$ac_objext \
15972 if test "${ac_cv_search_gettext+set}" = set; then :
15976 if test "${ac_cv_search_gettext+set}" = set; then :
15979 ac_cv_search_gettext=no
15981 rm conftest.$ac_ext
15982 LIBS=$ac_func_search_save_LIBS
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15985 $as_echo "$ac_cv_search_gettext" >&6; }
15986 ac_res=$ac_cv_search_gettext
15987 if test "$ac_res" != no; then :
15988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15995 if test $USE_NLS = yes; then
15997 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16017 $as_echo_n "checking for std::allocator base class... " >&6; }
16018 # Check whether --enable-libstdcxx-allocator was given.
16019 if test "${enable_libstdcxx_allocator+set}" = set; then :
16020 enableval=$enable_libstdcxx_allocator;
16021 case "$enableval" in
16022 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16023 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16027 enable_libstdcxx_allocator=auto
16032 # If they didn't use this option switch, or if they specified --enable
16033 # with no specific model, we'll have to look for one. If they
16034 # specified --disable (???), do likewise.
16035 if test $enable_libstdcxx_allocator = no ||
16036 test $enable_libstdcxx_allocator = yes;
16038 enable_libstdcxx_allocator=auto
16041 # Either a known package, or "auto". Auto implies the default choice
16042 # for a particular platform.
16043 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16045 # Probe for host-specific support if no specific model is specified.
16046 # Default to "new".
16047 if test $enable_libstdcxx_allocator_flag = auto; then
16048 case ${target_os} in
16049 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16050 enable_libstdcxx_allocator_flag=new
16053 enable_libstdcxx_allocator_flag=new
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16058 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16061 # Set configure bits for specified locale package
16062 case ${enable_libstdcxx_allocator_flag} in
16064 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16065 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16068 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16069 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16072 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16073 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16076 ALLOCATOR_H=config/allocator/new_allocator_base.h
16077 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16080 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16081 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16089 # Check whether --enable-cheaders was given.
16090 if test "${enable_cheaders+set}" = set; then :
16091 enableval=$enable_cheaders;
16092 case "$enableval" in
16093 c|c_std|c_global) ;;
16094 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16098 enable_cheaders=$c_model
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16103 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16105 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16107 # Allow overrides to configure.host here.
16108 if test $enable_cheaders = c_global; then
16109 c_compatibility=yes
16118 # Check whether --enable-long-long was given.
16119 if test "${enable_long_long+set}" = set; then :
16120 enableval=$enable_long_long;
16121 case "$enableval" in
16123 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16127 enable_long_long=yes
16131 if test $enable_long_long = yes; then
16133 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16137 $as_echo_n "checking for enabled long long specializations... " >&6; }
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16139 $as_echo "$enable_long_long" >&6; }
16142 # Check whether --enable-wchar_t was given.
16143 if test "${enable_wchar_t+set}" = set; then :
16144 enableval=$enable_wchar_t;
16145 case "$enableval" in
16147 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16156 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16157 for ac_header in wchar.h
16159 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16160 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_WCHAR_H 1
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16172 $as_echo_n "checking for mbstate_t... " >&6; }
16173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16179 mbstate_t teststate;
16184 if ac_fn_c_try_compile "$LINENO"; then :
16189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16191 $as_echo "$have_mbstate_t" >&6; }
16192 if test x"$have_mbstate_t" = xyes; then
16194 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16198 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16200 for ac_header in wctype.h
16202 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16203 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16204 cat >>confdefs.h <<_ACEOF
16205 #define HAVE_WCTYPE_H 1
16207 ac_has_wctype_h=yes
16215 if test x"$enable_wchar_t" = x"yes"; then
16219 ac_cpp='$CXXCPP $CPPFLAGS'
16220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16225 if test x"$ac_has_wchar_h" = xyes &&
16226 test x"$ac_has_wctype_h" = xyes; then
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16230 #include <stddef.h>
16233 long j = WCHAR_MIN;
16234 long k = WCHAR_MAX;
16299 if ac_fn_cxx_try_compile "$LINENO"; then :
16304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16310 ac_cpp='$CPP $CPPFLAGS'
16311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16317 if test x"$enable_wchar_t" = x"yes"; then
16319 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16324 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16326 $as_echo "$enable_wchar_t" >&6; }
16330 # Check whether --enable-c99 was given.
16331 if test "${enable_c99+set}" = set; then :
16332 enableval=$enable_c99;
16333 case "$enableval" in
16335 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16344 if test x"$enable_c99" = x"yes"; then
16348 ac_cpp='$CXXCPP $CPPFLAGS'
16349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16354 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16355 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16356 # spuriously enabled.
16357 # Long term, -std=c++0x could be even better, could manage to explicitely
16358 # request C99 facilities to the underlying C headers.
16359 ac_save_CXXFLAGS="$CXXFLAGS"
16360 CXXFLAGS="$CXXFLAGS -std=c++98"
16361 ac_save_LIBS="$LIBS"
16362 ac_save_gcc_no_link="$gcc_no_link"
16364 if test x$gcc_no_link != xyes; then
16365 # Use -fno-exceptions to that the C driver can link these tests without
16366 # hitting undefined references to personality routines.
16367 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16369 $as_echo_n "checking for sin in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_sin+set}" = set; then :
16371 $as_echo_n "(cached) " >&6
16373 ac_check_lib_save_LIBS=$LIBS
16375 if test x$gcc_no_link = xyes; then
16376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16381 /* Override any GCC internal prototype to avoid an error.
16382 Use char because int might match the return type of a GCC
16383 builtin and then its argument prototype would still apply. */
16396 if ac_fn_cxx_try_link "$LINENO"; then :
16397 ac_cv_lib_m_sin=yes
16401 rm -f core conftest.err conftest.$ac_objext \
16402 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16406 $as_echo "$ac_cv_lib_m_sin" >&6; }
16407 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16413 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16420 # Check for the existence of <math.h> functions used if C99 is enabled.
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16422 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16423 if test "${glibcxx_cv_c99_math+set}" = set; then :
16424 $as_echo_n "(cached) " >&6
16427 if test x$gcc_no_link = xyes; then
16428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h. */
16431 volatile double d1, d2;
16436 i = fpclassify(d1);
16442 i = isgreater(d1, d2);
16443 i = isgreaterequal(d1, d2);
16444 i = isless(d1, d2);
16445 i = islessequal(d1, d2);
16446 i = islessgreater(d1, d2);
16447 i = islessgreater(d1, d2);
16448 i = isunordered(d1, d2);
16454 if ac_fn_cxx_try_compile "$LINENO"; then :
16455 glibcxx_cv_c99_math=yes
16457 glibcxx_cv_c99_math=no
16459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16461 if test x$gcc_no_link = xyes; then
16462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16467 volatile double d1, d2;
16472 i = fpclassify(d1);
16478 i = isgreater(d1, d2);
16479 i = isgreaterequal(d1, d2);
16480 i = isless(d1, d2);
16481 i = islessequal(d1, d2);
16482 i = islessgreater(d1, d2);
16483 i = islessgreater(d1, d2);
16484 i = isunordered(d1, d2);
16490 if ac_fn_cxx_try_link "$LINENO"; then :
16491 glibcxx_cv_c99_math=yes
16493 glibcxx_cv_c99_math=no
16495 rm -f core conftest.err conftest.$ac_objext \
16496 conftest$ac_exeext conftest.$ac_ext
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16502 $as_echo "$glibcxx_cv_c99_math" >&6; }
16503 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16505 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16509 # Check for the existence of <complex.h> complex math functions.
16510 # This is necessary even though libstdc++ uses the builtin versions
16511 # of these functions, because if the builtin cannot be used, a reference
16512 # to the library function is emitted.
16513 for ac_header in tgmath.h
16515 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_TGMATH_H 1
16520 ac_has_tgmath_h=yes
16527 for ac_header in complex.h
16529 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16530 if test "x$ac_cv_header_complex_h" = x""yes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_COMPLEX_H 1
16534 ac_has_complex_h=yes
16536 ac_has_complex_h=no
16541 glibcxx_cv_c99_complex=no;
16542 if test x"$ac_has_complex_h" = x"yes"; then
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16544 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16545 if test x$gcc_no_link = xyes; then
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 #include <complex.h>
16549 typedef __complex__ float float_type;
16550 typedef __complex__ double double_type;
16551 typedef __complex__ long double ld_type;
16552 volatile float_type tmpf;
16553 volatile double_type tmpd;
16554 volatile ld_type tmpld;
16557 volatile long double ld;
16563 tmpf = ccosf(tmpf);
16564 tmpf = ccoshf(tmpf);
16565 tmpf = cexpf(tmpf);
16566 tmpf = clogf(tmpf);
16567 tmpf = csinf(tmpf);
16568 tmpf = csinhf(tmpf);
16569 tmpf = csqrtf(tmpf);
16570 tmpf = ctanf(tmpf);
16571 tmpf = ctanhf(tmpf);
16572 tmpf = cpowf(tmpf, tmpf);
16573 tmpf = cprojf(tmpf);
16577 tmpd = ccosh(tmpd);
16581 tmpd = csinh(tmpd);
16582 tmpd = csqrt(tmpd);
16584 tmpd = ctanh(tmpd);
16585 tmpd = cpow(tmpd, tmpd);
16586 tmpd = cproj(tmpd);
16589 tmpld = ccosl(tmpld);
16590 tmpld = ccoshl(tmpld);
16591 tmpld = cexpl(tmpld);
16592 tmpld = clogl(tmpld);
16593 tmpld = csinl(tmpld);
16594 tmpld = csinhl(tmpld);
16595 tmpld = csqrtl(tmpld);
16596 tmpld = ctanl(tmpld);
16597 tmpld = ctanhl(tmpld);
16598 tmpld = cpowl(tmpld, tmpld);
16599 tmpld = cprojl(tmpld);
16605 if ac_fn_cxx_try_compile "$LINENO"; then :
16606 glibcxx_cv_c99_complex=yes
16608 glibcxx_cv_c99_complex=no
16610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16612 if test x$gcc_no_link = xyes; then
16613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h. */
16617 #include <complex.h>
16618 typedef __complex__ float float_type;
16619 typedef __complex__ double double_type;
16620 typedef __complex__ long double ld_type;
16621 volatile float_type tmpf;
16622 volatile double_type tmpd;
16623 volatile ld_type tmpld;
16626 volatile long double ld;
16632 tmpf = ccosf(tmpf);
16633 tmpf = ccoshf(tmpf);
16634 tmpf = cexpf(tmpf);
16635 tmpf = clogf(tmpf);
16636 tmpf = csinf(tmpf);
16637 tmpf = csinhf(tmpf);
16638 tmpf = csqrtf(tmpf);
16639 tmpf = ctanf(tmpf);
16640 tmpf = ctanhf(tmpf);
16641 tmpf = cpowf(tmpf, tmpf);
16642 tmpf = cprojf(tmpf);
16646 tmpd = ccosh(tmpd);
16650 tmpd = csinh(tmpd);
16651 tmpd = csqrt(tmpd);
16653 tmpd = ctanh(tmpd);
16654 tmpd = cpow(tmpd, tmpd);
16655 tmpd = cproj(tmpd);
16658 tmpld = ccosl(tmpld);
16659 tmpld = ccoshl(tmpld);
16660 tmpld = cexpl(tmpld);
16661 tmpld = clogl(tmpld);
16662 tmpld = csinl(tmpld);
16663 tmpld = csinhl(tmpld);
16664 tmpld = csqrtl(tmpld);
16665 tmpld = ctanl(tmpld);
16666 tmpld = ctanhl(tmpld);
16667 tmpld = cpowl(tmpld, tmpld);
16668 tmpld = cprojl(tmpld);
16674 if ac_fn_cxx_try_link "$LINENO"; then :
16675 glibcxx_cv_c99_complex=yes
16677 glibcxx_cv_c99_complex=no
16679 rm -f core conftest.err conftest.$ac_objext \
16680 conftest$ac_exeext conftest.$ac_ext
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16684 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16685 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16687 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16691 # Check for the existence in <stdio.h> of vscanf, et. al.
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16693 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16694 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16695 $as_echo_n "(cached) " >&6
16698 if test x$gcc_no_link = xyes; then
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16702 #include <stdarg.h>
16703 void foo(char* fmt, ...)
16705 va_list args; va_start(args, fmt);
16706 vfscanf(stderr, "%i", args);
16707 vscanf("%i", args);
16708 vsnprintf(fmt, 0, "%i", args);
16709 vsscanf(fmt, "%i", args);
16714 snprintf("12", 0, "%i");
16719 if ac_fn_cxx_try_compile "$LINENO"; then :
16720 glibcxx_cv_c99_stdio=yes
16722 glibcxx_cv_c99_stdio=no
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16726 if test x$gcc_no_link = xyes; then
16727 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h. */
16732 #include <stdarg.h>
16733 void foo(char* fmt, ...)
16735 va_list args; va_start(args, fmt);
16736 vfscanf(stderr, "%i", args);
16737 vscanf("%i", args);
16738 vsnprintf(fmt, 0, "%i", args);
16739 vsscanf(fmt, "%i", args);
16744 snprintf("12", 0, "%i");
16749 if ac_fn_cxx_try_link "$LINENO"; then :
16750 glibcxx_cv_c99_stdio=yes
16752 glibcxx_cv_c99_stdio=no
16754 rm -f core conftest.err conftest.$ac_objext \
16755 conftest$ac_exeext conftest.$ac_ext
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16761 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16763 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16765 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16766 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16767 $as_echo_n "(cached) " >&6
16770 if test x$gcc_no_link = xyes; then
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16773 #include <stdlib.h>
16775 volatile long double ld;
16776 volatile unsigned long long ll;
16782 f = strtof("gnu", &tmp);
16783 ld = strtold("gnu", &tmp);
16784 ll = strtoll("gnu", &tmp, 10);
16785 ll = strtoull("gnu", &tmp, 10);
16787 mydivt = lldiv(10,1);
16797 if ac_fn_cxx_try_compile "$LINENO"; then :
16798 glibcxx_cv_c99_stdlib=yes
16800 glibcxx_cv_c99_stdlib=no
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 if test x$gcc_no_link = xyes; then
16805 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809 #include <stdlib.h>
16811 volatile long double ld;
16812 volatile unsigned long long ll;
16818 f = strtof("gnu", &tmp);
16819 ld = strtold("gnu", &tmp);
16820 ll = strtoll("gnu", &tmp, 10);
16821 ll = strtoull("gnu", &tmp, 10);
16823 mydivt = lldiv(10,1);
16833 if ac_fn_cxx_try_link "$LINENO"; then :
16834 glibcxx_cv_c99_stdlib=yes
16836 glibcxx_cv_c99_stdlib=no
16838 rm -f core conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16845 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16847 # Check for the existence in <wchar.h> of wcstold, etc.
16848 glibcxx_cv_c99_wchar=no;
16849 if test x"$ac_has_wchar_h" = xyes &&
16850 test x"$ac_has_wctype_h" = xyes; then
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16852 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16871 if ac_fn_cxx_try_compile "$LINENO"; then :
16872 glibcxx_cv_c99_wchar=yes
16874 glibcxx_cv_c99_wchar=no
16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 # Checks for wide character functions that may not be present.
16879 # Injection of these is wrapped with guard macros.
16880 # NB: only put functions here, instead of immediately above, if
16881 # absolutely necessary.
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16885 namespace test { using ::vfwscanf; }
16894 if ac_fn_cxx_try_compile "$LINENO"; then :
16896 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16904 namespace test { using ::vswscanf; }
16913 if ac_fn_cxx_try_compile "$LINENO"; then :
16915 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16923 namespace test { using ::vwscanf; }
16932 if ac_fn_cxx_try_compile "$LINENO"; then :
16934 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16942 namespace test { using ::wcstof; }
16951 if ac_fn_cxx_try_compile "$LINENO"; then :
16953 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #include <wctype.h>
16964 wint_t t; int i = iswblank(t);
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16971 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16977 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16980 # Option parsed, now set things appropriately.
16981 if test x"$glibcxx_cv_c99_math" = x"no" ||
16982 test x"$glibcxx_cv_c99_complex" = x"no" ||
16983 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16984 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16985 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16989 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16993 gcc_no_link="$ac_save_gcc_no_link"
16994 LIBS="$ac_save_LIBS"
16995 CXXFLAGS="$ac_save_CXXFLAGS"
16997 ac_cpp='$CPP $CPPFLAGS'
16998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17005 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17007 $as_echo "$enable_c99" >&6; }
17010 # Check whether --enable-concept-checks was given.
17011 if test "${enable_concept_checks+set}" = set; then :
17012 enableval=$enable_concept_checks;
17013 case "$enableval" in
17015 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17019 enable_concept_checks=no
17023 if test $enable_concept_checks = yes; then
17025 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17030 # Check whether --enable-libstdcxx-debug-flags was given.
17031 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17032 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17033 xno | x) enable_libstdcxx_debug_flags= ;;
17035 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17038 enable_libstdcxx_debug_flags="-g3 -O0"
17043 # Option parsed, now set things appropriately
17044 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17048 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17052 $as_echo_n "checking for additional debug build... " >&6; }
17053 # Check whether --enable-libstdcxx-debug was given.
17054 if test "${enable_libstdcxx_debug+set}" = set; then :
17055 enableval=$enable_libstdcxx_debug;
17056 case "$enableval" in
17058 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17062 enable_libstdcxx_debug=no
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17067 $as_echo "$enable_libstdcxx_debug" >&6; }
17072 enable_parallel=no;
17074 # See if configured libgomp/omp.h exists. (libgomp may be in
17075 # noconfigdirs but not explicitly disabled.)
17076 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17077 enable_parallel=yes;
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17080 $as_echo "$as_me: target-libgomp not built" >&6;}
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17084 $as_echo_n "checking for parallel mode support... " >&6; }
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17086 $as_echo "$enable_parallel" >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17090 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17091 # Check whether --enable-cxx-flags was given.
17092 if test "${enable_cxx_flags+set}" = set; then :
17093 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17094 xno | x) enable_cxx_flags= ;;
17096 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17104 # Run through flags (either default or command-line) and set anything
17105 # extra (e.g., #defines) that must accompany particular g++ options.
17106 if test -n "$enable_cxx_flags"; then
17107 for f in $enable_cxx_flags; do
17111 *) # and we're trying to pass /what/ exactly?
17112 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17117 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17119 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17123 # Check whether --enable-fully-dynamic-string was given.
17124 if test "${enable_fully_dynamic_string+set}" = set; then :
17125 enableval=$enable_fully_dynamic_string;
17126 case "$enableval" in
17128 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17132 enable_fully_dynamic_string=no
17136 if test $enable_fully_dynamic_string = yes; then
17138 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17144 # Check whether --enable-extern-template was given.
17145 if test "${enable_extern_template+set}" = set; then :
17146 enableval=$enable_extern_template;
17147 case "$enableval" in
17149 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17153 enable_extern_template=yes
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17159 $as_echo_n "checking for extern template support... " >&6; }
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17161 $as_echo "$enable_extern_template" >&6; }
17166 # Checks for operating systems support that doesn't require linking.
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17170 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17171 if test "${glibcxx_cv_system_error1+set}" = set; then :
17172 $as_echo_n "(cached) " >&6
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h. */
17181 int i = EOWNERDEAD;
17186 if ac_fn_c_try_compile "$LINENO"; then :
17187 glibcxx_cv_system_error1=yes
17189 glibcxx_cv_system_error1=no
17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17196 $as_echo "$glibcxx_cv_system_error1" >&6; }
17197 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17199 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17203 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17204 if test "${glibcxx_cv_system_error2+set}" = set; then :
17205 $as_echo_n "(cached) " >&6
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17214 int i = ENOTRECOVERABLE;
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220 glibcxx_cv_system_error2=yes
17222 glibcxx_cv_system_error2=no
17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17229 $as_echo "$glibcxx_cv_system_error2" >&6; }
17230 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17232 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17236 $as_echo_n "checking for ENOLINK... " >&6; }
17237 if test "${glibcxx_cv_system_error3+set}" = set; then :
17238 $as_echo_n "(cached) " >&6
17241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h. */
17252 if ac_fn_c_try_compile "$LINENO"; then :
17253 glibcxx_cv_system_error3=yes
17255 glibcxx_cv_system_error3=no
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17262 $as_echo "$glibcxx_cv_system_error3" >&6; }
17263 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17265 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17269 $as_echo_n "checking for EPROTO... " >&6; }
17270 if test "${glibcxx_cv_system_error4+set}" = set; then :
17271 $as_echo_n "(cached) " >&6
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h. */
17285 if ac_fn_c_try_compile "$LINENO"; then :
17286 glibcxx_cv_system_error4=yes
17288 glibcxx_cv_system_error4=no
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17295 $as_echo "$glibcxx_cv_system_error4" >&6; }
17296 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17298 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17302 $as_echo_n "checking for ENODATA... " >&6; }
17303 if test "${glibcxx_cv_system_error5+set}" = set; then :
17304 $as_echo_n "(cached) " >&6
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17318 if ac_fn_c_try_compile "$LINENO"; then :
17319 glibcxx_cv_system_error5=yes
17321 glibcxx_cv_system_error5=no
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17328 $as_echo "$glibcxx_cv_system_error5" >&6; }
17329 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17331 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17335 $as_echo_n "checking for ENOSR... " >&6; }
17336 if test "${glibcxx_cv_system_error6+set}" = set; then :
17337 $as_echo_n "(cached) " >&6
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17351 if ac_fn_c_try_compile "$LINENO"; then :
17352 glibcxx_cv_system_error6=yes
17354 glibcxx_cv_system_error6=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17361 $as_echo "$glibcxx_cv_system_error6" >&6; }
17362 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17364 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17368 $as_echo_n "checking for ENOSTR... " >&6; }
17369 if test "${glibcxx_cv_system_error7+set}" = set; then :
17370 $as_echo_n "(cached) " >&6
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17384 if ac_fn_c_try_compile "$LINENO"; then :
17385 glibcxx_cv_system_error7=yes
17387 glibcxx_cv_system_error7=no
17389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17394 $as_echo "$glibcxx_cv_system_error7" >&6; }
17395 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17397 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17401 $as_echo_n "checking for ETIME... " >&6; }
17402 if test "${glibcxx_cv_system_error8+set}" = set; then :
17403 $as_echo_n "(cached) " >&6
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h. */
17417 if ac_fn_c_try_compile "$LINENO"; then :
17418 glibcxx_cv_system_error8=yes
17420 glibcxx_cv_system_error8=no
17422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17427 $as_echo "$glibcxx_cv_system_error8" >&6; }
17428 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17430 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17434 $as_echo_n "checking for EBADMSG... " >&6; }
17435 if test "${glibcxx_cv_system_error9+set}" = set; then :
17436 $as_echo_n "(cached) " >&6
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17450 if ac_fn_c_try_compile "$LINENO"; then :
17451 glibcxx_cv_system_error9=yes
17453 glibcxx_cv_system_error9=no
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17460 $as_echo "$glibcxx_cv_system_error9" >&6; }
17461 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17463 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17467 $as_echo_n "checking for ECANCELED... " >&6; }
17468 if test "${glibcxx_cv_system_error10+set}" = set; then :
17469 $as_echo_n "(cached) " >&6
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17483 if ac_fn_c_try_compile "$LINENO"; then :
17484 glibcxx_cv_system_error10=yes
17486 glibcxx_cv_system_error10=no
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17493 $as_echo "$glibcxx_cv_system_error10" >&6; }
17494 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17496 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17500 $as_echo_n "checking for EOVERFLOW... " >&6; }
17501 if test "${glibcxx_cv_system_error11+set}" = set; then :
17502 $as_echo_n "(cached) " >&6
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17516 if ac_fn_c_try_compile "$LINENO"; then :
17517 glibcxx_cv_system_error11=yes
17519 glibcxx_cv_system_error11=no
17521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17526 $as_echo "$glibcxx_cv_system_error11" >&6; }
17527 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17529 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17533 $as_echo_n "checking for ENOTSUP... " >&6; }
17534 if test "${glibcxx_cv_system_error12+set}" = set; then :
17535 $as_echo_n "(cached) " >&6
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17549 if ac_fn_c_try_compile "$LINENO"; then :
17550 glibcxx_cv_system_error12=yes
17552 glibcxx_cv_system_error12=no
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17559 $as_echo "$glibcxx_cv_system_error12" >&6; }
17560 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17562 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17566 $as_echo_n "checking for EIDRM... " >&6; }
17567 if test "${glibcxx_cv_system_error13+set}" = set; then :
17568 $as_echo_n "(cached) " >&6
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17582 if ac_fn_c_try_compile "$LINENO"; then :
17583 glibcxx_cv_system_error13=yes
17585 glibcxx_cv_system_error13=no
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17592 $as_echo "$glibcxx_cv_system_error13" >&6; }
17593 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17595 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17599 $as_echo_n "checking for ETXTBSY... " >&6; }
17600 if test "${glibcxx_cv_system_error14+set}" = set; then :
17601 $as_echo_n "(cached) " >&6
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17615 if ac_fn_c_try_compile "$LINENO"; then :
17616 glibcxx_cv_system_error14=yes
17618 glibcxx_cv_system_error14=no
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17625 $as_echo "$glibcxx_cv_system_error14" >&6; }
17626 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17628 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17634 # For the streamoff typedef.
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17646 $as_echo_n "checking for int64_t... " >&6; }
17647 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17648 $as_echo_n "(cached) " >&6
17651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h. */
17653 #include <stdint.h>
17662 if ac_fn_cxx_try_compile "$LINENO"; then :
17663 glibcxx_cv_INT64_T=yes
17665 glibcxx_cv_INT64_T=no
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672 if test $glibcxx_cv_INT64_T = yes; then
17674 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17677 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17680 $as_echo_n "checking for int64_t as long... " >&6; }
17681 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17682 $as_echo_n "(cached) " >&6
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 #include <stdint.h>
17688 template<typename, typename> struct same { enum { value = -1 }; };
17689 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17690 int array[same<int64_t, long>::value];
17699 if ac_fn_cxx_try_compile "$LINENO"; then :
17700 glibcxx_cv_int64_t_long=yes
17702 glibcxx_cv_int64_t_long=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 if test $glibcxx_cv_int64_t_long = yes; then
17711 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17714 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17718 $as_echo_n "checking for int64_t as long long... " >&6; }
17719 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17720 $as_echo_n "(cached) " >&6
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17725 #include <stdint.h>
17726 template<typename, typename> struct same { enum { value = -1 }; };
17727 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17728 int array[same<int64_t, long long>::value];
17737 if ac_fn_cxx_try_compile "$LINENO"; then :
17738 glibcxx_cv_int64_t_long_long=yes
17740 glibcxx_cv_int64_t_long_long=no
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 if test $glibcxx_cv_int64_t_long_long = yes; then
17749 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17752 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17757 ac_cpp='$CPP $CPPFLAGS'
17758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17768 ac_cpp='$CXXCPP $CPPFLAGS'
17769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17773 ac_save_CXXFLAGS="$CXXFLAGS"
17774 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17776 $as_echo_n "checking for LFS support... " >&6; }
17777 if test "${glibcxx_cv_LFS+set}" = set; then :
17778 $as_echo_n "(cached) " >&6
17781 if test x$gcc_no_link = xyes; then
17782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17784 #include <unistd.h>
17786 #include <sys/stat.h>
17793 fseeko64(fp, 0, SEEK_CUR);
17795 lseek64(1, 0, SEEK_CUR);
17802 if ac_fn_cxx_try_compile "$LINENO"; then :
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17809 if test x$gcc_no_link = xyes; then
17810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 #include <unistd.h>
17816 #include <sys/stat.h>
17823 fseeko64(fp, 0, SEEK_CUR);
17825 lseek64(1, 0, SEEK_CUR);
17832 if ac_fn_cxx_try_link "$LINENO"; then :
17837 rm -f core conftest.err conftest.$ac_objext \
17838 conftest$ac_exeext conftest.$ac_ext
17843 if test $glibcxx_cv_LFS = yes; then
17845 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17849 $as_echo "$glibcxx_cv_LFS" >&6; }
17850 CXXFLAGS="$ac_save_CXXFLAGS"
17852 ac_cpp='$CPP $CPPFLAGS'
17853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17859 # For showmanyc_helper().
17860 for ac_header in sys/ioctl.h sys/filio.h
17862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17863 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17864 eval as_val=\$$as_ac_Header
17865 if test "x$as_val" = x""yes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17878 ac_cpp='$CXXCPP $CPPFLAGS'
17879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17883 ac_save_CXXFLAGS="$CXXFLAGS"
17884 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17887 $as_echo_n "checking for poll... " >&6; }
17888 if test "${glibcxx_cv_POLL+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17892 if test x$gcc_no_link = xyes; then
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17899 struct pollfd pfd[1];
17900 pfd[0].events = POLLIN;
17906 if ac_fn_cxx_try_compile "$LINENO"; then :
17907 glibcxx_cv_POLL=yes
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17913 if test x$gcc_no_link = xyes; then
17914 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h. */
17922 struct pollfd pfd[1];
17923 pfd[0].events = POLLIN;
17929 if ac_fn_cxx_try_link "$LINENO"; then :
17930 glibcxx_cv_POLL=yes
17934 rm -f core conftest.err conftest.$ac_objext \
17935 conftest$ac_exeext conftest.$ac_ext
17940 if test $glibcxx_cv_POLL = yes; then
17942 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17946 $as_echo "$glibcxx_cv_POLL" >&6; }
17948 CXXFLAGS="$ac_save_CXXFLAGS"
17950 ac_cpp='$CPP $CPPFLAGS'
17951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17965 ac_save_CXXFLAGS="$CXXFLAGS"
17966 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17969 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17970 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17971 $as_echo_n "(cached) " >&6
17974 if test x$gcc_no_link = xyes; then
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #include <sys/stat.h>
17981 struct stat buffer;
17983 S_ISREG(buffer.st_mode);
17988 if ac_fn_cxx_try_compile "$LINENO"; then :
17989 glibcxx_cv_S_ISREG=yes
17991 glibcxx_cv_S_ISREG=no
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17995 if test x$gcc_no_link = xyes; then
17996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h. */
18000 #include <sys/stat.h>
18004 struct stat buffer;
18006 S_ISREG(buffer.st_mode);
18011 if ac_fn_cxx_try_link "$LINENO"; then :
18012 glibcxx_cv_S_ISREG=yes
18014 glibcxx_cv_S_ISREG=no
18016 rm -f core conftest.err conftest.$ac_objext \
18017 conftest$ac_exeext conftest.$ac_ext
18022 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18023 $as_echo_n "(cached) " >&6
18026 if test x$gcc_no_link = xyes; then
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #include <sys/stat.h>
18033 struct stat buffer;
18035 S_IFREG & buffer.st_mode;
18040 if ac_fn_cxx_try_compile "$LINENO"; then :
18041 glibcxx_cv_S_IFREG=yes
18043 glibcxx_cv_S_IFREG=no
18045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18047 if test x$gcc_no_link = xyes; then
18048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h. */
18052 #include <sys/stat.h>
18056 struct stat buffer;
18058 S_IFREG & buffer.st_mode;
18063 if ac_fn_cxx_try_link "$LINENO"; then :
18064 glibcxx_cv_S_IFREG=yes
18066 glibcxx_cv_S_IFREG=no
18068 rm -f core conftest.err conftest.$ac_objext \
18069 conftest$ac_exeext conftest.$ac_ext
18075 if test $glibcxx_cv_S_ISREG = yes; then
18077 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18080 elif test $glibcxx_cv_S_IFREG = yes; then
18082 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18087 $as_echo "$res" >&6; }
18089 CXXFLAGS="$ac_save_CXXFLAGS"
18091 ac_cpp='$CPP $CPPFLAGS'
18092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18099 for ac_header in sys/uio.h
18101 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18102 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_SYS_UIO_H 1
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18120 ac_save_CXXFLAGS="$CXXFLAGS"
18121 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18124 $as_echo_n "checking for writev... " >&6; }
18125 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18126 $as_echo_n "(cached) " >&6
18129 if test x$gcc_no_link = xyes; then
18130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18132 #include <sys/uio.h>
18136 struct iovec iov[2];
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143 glibcxx_cv_WRITEV=yes
18145 glibcxx_cv_WRITEV=no
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18149 if test x$gcc_no_link = xyes; then
18150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18154 #include <sys/uio.h>
18158 struct iovec iov[2];
18164 if ac_fn_cxx_try_link "$LINENO"; then :
18165 glibcxx_cv_WRITEV=yes
18167 glibcxx_cv_WRITEV=no
18169 rm -f core conftest.err conftest.$ac_objext \
18170 conftest$ac_exeext conftest.$ac_ext
18175 if test $glibcxx_cv_WRITEV = yes; then
18177 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18181 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18183 CXXFLAGS="$ac_save_CXXFLAGS"
18185 ac_cpp='$CPP $CPPFLAGS'
18186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192 # For C99 support to TR1.
18197 ac_cpp='$CXXCPP $CPPFLAGS'
18198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18204 # undefined and fake C99 facilities may be spuriously enabled.
18205 ac_save_CXXFLAGS="$CXXFLAGS"
18206 CXXFLAGS="$CXXFLAGS -std=c++98"
18208 # Check for the existence of <complex.h> complex math functions used
18210 for ac_header in complex.h
18212 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18213 if test "x$ac_cv_header_complex_h" = x""yes; then :
18214 cat >>confdefs.h <<_ACEOF
18215 #define HAVE_COMPLEX_H 1
18217 ac_has_complex_h=yes
18219 ac_has_complex_h=no
18224 ac_c99_complex_tr1=no;
18225 if test x"$ac_has_complex_h" = x"yes"; then
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18227 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230 #include <complex.h>
18234 typedef __complex__ float float_type; float_type tmpf;
18241 typedef __complex__ double double_type; double_type tmpd;
18248 typedef __complex__ long double ld_type; ld_type tmpld;
18260 if ac_fn_cxx_try_compile "$LINENO"; then :
18261 ac_c99_complex_tr1=yes
18263 ac_c99_complex_tr1=no
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18268 $as_echo "$ac_c99_complex_tr1" >&6; }
18269 if test x"$ac_c99_complex_tr1" = x"yes"; then
18271 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18275 # Check for the existence of <ctype.h> functions.
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18277 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18278 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18279 $as_echo_n "(cached) " >&6
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18296 if ac_fn_cxx_try_compile "$LINENO"; then :
18297 glibcxx_cv_c99_ctype_tr1=yes
18299 glibcxx_cv_c99_ctype_tr1=no
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18306 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18307 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18309 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18313 # Check for the existence of <fenv.h> functions.
18314 for ac_header in fenv.h
18316 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18317 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18318 cat >>confdefs.h <<_ACEOF
18319 #define HAVE_FENV_H 1
18328 ac_c99_fenv_tr1=no;
18329 if test x"$ac_has_fenv_h" = x"yes"; then
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18331 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h. */
18342 ret = feclearexcept(except);
18343 ret = fegetexceptflag(pflag, except);
18344 ret = feraiseexcept(except);
18345 ret = fesetexceptflag(pflag, except);
18346 ret = fetestexcept(except);
18347 ret = fegetround();
18348 ret = fesetround(mode);
18349 ret = fegetenv(penv);
18350 ret = feholdexcept(penv);
18351 ret = fesetenv(penv);
18352 ret = feupdateenv(penv);
18358 if ac_fn_cxx_try_compile "$LINENO"; then :
18359 ac_c99_fenv_tr1=yes
18363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18366 $as_echo "$ac_c99_fenv_tr1" >&6; }
18367 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18369 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18373 # Check for the existence of <stdint.h> types.
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18375 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18376 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h. */
18382 #define __STDC_LIMIT_MACROS
18383 #define __STDC_CONSTANT_MACROS
18384 #include <stdint.h>
18388 typedef int8_t my_int8_t;
18389 my_int8_t i8 = INT8_MIN;
18391 typedef int16_t my_int16_t;
18392 my_int16_t i16 = INT16_MIN;
18394 typedef int32_t my_int32_t;
18395 my_int32_t i32 = INT32_MIN;
18397 typedef int64_t my_int64_t;
18398 my_int64_t i64 = INT64_MIN;
18400 typedef int_fast8_t my_int_fast8_t;
18401 my_int_fast8_t if8 = INT_FAST8_MIN;
18402 if8 = INT_FAST8_MAX;
18403 typedef int_fast16_t my_int_fast16_t;
18404 my_int_fast16_t if16 = INT_FAST16_MIN;
18405 if16 = INT_FAST16_MAX;
18406 typedef int_fast32_t my_int_fast32_t;
18407 my_int_fast32_t if32 = INT_FAST32_MIN;
18408 if32 = INT_FAST32_MAX;
18409 typedef int_fast64_t my_int_fast64_t;
18410 my_int_fast64_t if64 = INT_FAST64_MIN;
18411 if64 = INT_FAST64_MAX;
18412 typedef int_least8_t my_int_least8_t;
18413 my_int_least8_t il8 = INT_LEAST8_MIN;
18414 il8 = INT_LEAST8_MAX;
18415 typedef int_least16_t my_int_least16_t;
18416 my_int_least16_t il16 = INT_LEAST16_MIN;
18417 il16 = INT_LEAST16_MAX;
18418 typedef int_least32_t my_int_least32_t;
18419 my_int_least32_t il32 = INT_LEAST32_MIN;
18420 il32 = INT_LEAST32_MAX;
18421 typedef int_least64_t my_int_least64_t;
18422 my_int_least64_t il64 = INT_LEAST64_MIN;
18423 il64 = INT_LEAST64_MAX;
18424 typedef intmax_t my_intmax_t;
18425 my_intmax_t im = INTMAX_MAX;
18427 typedef intptr_t my_intptr_t;
18428 my_intptr_t ip = INTPTR_MAX;
18430 typedef uint8_t my_uint8_t;
18431 my_uint8_t ui8 = UINT8_MAX;
18433 typedef uint16_t my_uint16_t;
18434 my_uint16_t ui16 = UINT16_MAX;
18436 typedef uint32_t my_uint32_t;
18437 my_uint32_t ui32 = UINT32_MAX;
18439 typedef uint64_t my_uint64_t;
18440 my_uint64_t ui64 = UINT64_MAX;
18442 typedef uint_fast8_t my_uint_fast8_t;
18443 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18444 uif8 = UINT_FAST8_MAX;
18445 typedef uint_fast16_t my_uint_fast16_t;
18446 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18447 uif16 = UINT_FAST16_MAX;
18448 typedef uint_fast32_t my_uint_fast32_t;
18449 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18450 uif32 = UINT_FAST32_MAX;
18451 typedef uint_fast64_t my_uint_fast64_t;
18452 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18453 uif64 = UINT_FAST64_MAX;
18454 typedef uint_least8_t my_uint_least8_t;
18455 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18456 uil8 = UINT_LEAST8_MAX;
18457 typedef uint_least16_t my_uint_least16_t;
18458 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18459 uil16 = UINT_LEAST16_MAX;
18460 typedef uint_least32_t my_uint_least32_t;
18461 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18462 uil32 = UINT_LEAST32_MAX;
18463 typedef uint_least64_t my_uint_least64_t;
18464 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18465 uil64 = UINT_LEAST64_MAX;
18466 typedef uintmax_t my_uintmax_t;
18467 my_uintmax_t uim = UINTMAX_MAX;
18469 typedef uintptr_t my_uintptr_t;
18470 my_uintptr_t uip = UINTPTR_MAX;
18477 if ac_fn_cxx_try_compile "$LINENO"; then :
18478 glibcxx_cv_c99_stdint_tr1=yes
18480 glibcxx_cv_c99_stdint_tr1=no
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18487 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18488 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18490 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18494 # Check for the existence of <math.h> functions.
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18496 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18497 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18498 $as_echo_n "(cached) " >&6
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18507 typedef double_t my_double_t;
18508 typedef float_t my_float_t;
18521 copysign(0.0, 0.0);
18522 copysignf(0.0f, 0.0f);
18523 copysignl(0.0l, 0.0l);
18539 fma(0.0, 0.0, 0.0);
18540 fmaf(0.0f, 0.0f, 0.0f);
18541 fmal(0.0l, 0.0l, 0.0l);
18549 hypotf(0.0f, 0.0f);
18550 hypotl(0.0l, 0.0l);
18584 nextafter(0.0, 0.0);
18585 nextafterf(0.0f, 0.0f);
18586 nextafterl(0.0l, 0.0l);
18587 nexttoward(0.0, 0.0);
18588 nexttowardf(0.0f, 0.0f);
18589 nexttowardl(0.0l, 0.0l);
18590 remainder(0.0, 0.0);
18591 remainderf(0.0f, 0.0f);
18592 remainderl(0.0l, 0.0l);
18593 remquo(0.0, 0.0, 0);
18594 remquof(0.0f, 0.0f, 0);
18595 remquol(0.0l, 0.0l, 0);
18603 scalblnf(0.0f, 0l);
18604 scalblnl(0.0l, 0l);
18619 if ac_fn_cxx_try_compile "$LINENO"; then :
18620 glibcxx_cv_c99_math_tr1=yes
18622 glibcxx_cv_c99_math_tr1=no
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18629 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18630 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18632 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18636 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18637 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18638 ac_c99_inttypes_tr1=no;
18639 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18641 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <inttypes.h>
18648 intmax_t i, numer, denom, base;
18651 intmax_t ret = imaxabs(i);
18652 imaxdiv_t dret = imaxdiv(numer, denom);
18653 ret = strtoimax(s, endptr, base);
18654 uintmax_t uret = strtoumax(s, endptr, base);
18660 if ac_fn_cxx_try_compile "$LINENO"; then :
18661 ac_c99_inttypes_tr1=yes
18663 ac_c99_inttypes_tr1=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18668 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18669 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18671 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18675 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18676 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18677 ac_c99_inttypes_wchar_t_tr1=no;
18678 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18680 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #include <inttypes.h>
18690 intmax_t ret = wcstoimax(s, endptr, base);
18691 uintmax_t uret = wcstoumax(s, endptr, base);
18697 if ac_fn_cxx_try_compile "$LINENO"; then :
18698 ac_c99_inttypes_wchar_t_tr1=yes
18700 ac_c99_inttypes_wchar_t_tr1=no
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18705 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18706 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18708 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18712 # Check for the existence of the <stdbool.h> header.
18713 for ac_header in stdbool.h
18715 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18716 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18717 cat >>confdefs.h <<_ACEOF
18718 #define HAVE_STDBOOL_H 1
18726 CXXFLAGS="$ac_save_CXXFLAGS"
18728 ac_cpp='$CPP $CPPFLAGS'
18729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18735 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18739 $as_echo_n "checking for the value of EOF... " >&6; }
18740 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18741 $as_echo_n "(cached) " >&6
18744 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18747 as_fn_error "computing EOF failed" "$LINENO" 5
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18753 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18755 cat >>confdefs.h <<_ACEOF
18756 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18761 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18762 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18763 $as_echo_n "(cached) " >&6
18766 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18769 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18775 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18777 cat >>confdefs.h <<_ACEOF
18778 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18783 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18784 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18785 $as_echo_n "(cached) " >&6
18788 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18791 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18797 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18799 cat >>confdefs.h <<_ACEOF
18800 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18805 # For gettimeofday support.
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18809 $as_echo_n "checking for gettimeofday... " >&6; }
18813 ac_cpp='$CXXCPP $CPPFLAGS'
18814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18818 ac_save_CXXFLAGS="$CXXFLAGS"
18819 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18821 ac_has_gettimeofday=no;
18822 for ac_header in sys/time.h
18824 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18825 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18826 cat >>confdefs.h <<_ACEOF
18827 #define HAVE_SYS_TIME_H 1
18829 ac_has_sys_time_h=yes
18831 ac_has_sys_time_h=no
18836 if test x"$ac_has_sys_time_h" = x"yes"; then
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18838 $as_echo_n "checking for gettimeofday... " >&6; }
18839 if test x$gcc_no_link = xyes; then
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18842 #include <sys/time.h>
18846 timeval tv; gettimeofday(&tv, 0);
18851 if ac_fn_cxx_try_compile "$LINENO"; then :
18852 ac_has_gettimeofday=yes
18854 ac_has_gettimeofday=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858 if test x$gcc_no_link = xyes; then
18859 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18863 #include <sys/time.h>
18867 timeval tv; gettimeofday(&tv, 0);
18872 if ac_fn_cxx_try_link "$LINENO"; then :
18873 ac_has_gettimeofday=yes
18875 ac_has_gettimeofday=no
18877 rm -f core conftest.err conftest.$ac_objext \
18878 conftest$ac_exeext conftest.$ac_ext
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18882 $as_echo "$ac_has_gettimeofday" >&6; }
18885 if test x"$ac_has_gettimeofday" = x"yes"; then
18887 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18891 CXXFLAGS="$ac_save_CXXFLAGS"
18893 ac_cpp='$CPP $CPPFLAGS'
18894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18900 # For clock_gettime, nanosleep and sched_yield support.
18901 # NB: The default is [no], because otherwise it requires linking.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18905 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18906 # Check whether --enable-libstdcxx-time was given.
18907 if test "${enable_libstdcxx_time+set}" = set; then :
18908 enableval=$enable_libstdcxx_time;
18909 case "$enableval" in
18911 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18915 enable_libstdcxx_time=no
18922 ac_cpp='$CXXCPP $CPPFLAGS'
18923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18927 ac_save_CXXFLAGS="$CXXFLAGS"
18928 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18929 ac_save_LIBS="$LIBS"
18931 ac_has_clock_monotonic=no
18932 ac_has_clock_realtime=no
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18934 $as_echo "$enable_libstdcxx_time" >&6; }
18936 if test x"$enable_libstdcxx_time" != x"no"; then
18938 if test x"$enable_libstdcxx_time" = x"rt"; then
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18940 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18941 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18942 $as_echo_n "(cached) " >&6
18944 ac_func_search_save_LIBS=$LIBS
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 /* Override any GCC internal prototype to avoid an error.
18949 Use char because int might match the return type of a GCC
18950 builtin and then its argument prototype would still apply. */
18954 char clock_gettime ();
18958 return clock_gettime ();
18963 for ac_lib in '' rt posix4; do
18964 if test -z "$ac_lib"; then
18965 ac_res="none required"
18968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18970 if test x$gcc_no_link = xyes; then
18971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18973 if ac_fn_cxx_try_link "$LINENO"; then :
18974 ac_cv_search_clock_gettime=$ac_res
18976 rm -f core conftest.err conftest.$ac_objext \
18978 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18982 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18985 ac_cv_search_clock_gettime=no
18987 rm conftest.$ac_ext
18988 LIBS=$ac_func_search_save_LIBS
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18991 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18992 ac_res=$ac_cv_search_clock_gettime
18993 if test "$ac_res" != no; then :
18994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18999 $as_echo_n "checking for library containing nanosleep... " >&6; }
19000 if test "${ac_cv_search_nanosleep+set}" = set; then :
19001 $as_echo_n "(cached) " >&6
19003 ac_func_search_save_LIBS=$LIBS
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h. */
19007 /* Override any GCC internal prototype to avoid an error.
19008 Use char because int might match the return type of a GCC
19009 builtin and then its argument prototype would still apply. */
19017 return nanosleep ();
19022 for ac_lib in '' rt posix4; do
19023 if test -z "$ac_lib"; then
19024 ac_res="none required"
19027 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19029 if test x$gcc_no_link = xyes; then
19030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 if ac_fn_cxx_try_link "$LINENO"; then :
19033 ac_cv_search_nanosleep=$ac_res
19035 rm -f core conftest.err conftest.$ac_objext \
19037 if test "${ac_cv_search_nanosleep+set}" = set; then :
19041 if test "${ac_cv_search_nanosleep+set}" = set; then :
19044 ac_cv_search_nanosleep=no
19046 rm conftest.$ac_ext
19047 LIBS=$ac_func_search_save_LIBS
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19050 $as_echo "$ac_cv_search_nanosleep" >&6; }
19051 ac_res=$ac_cv_search_nanosleep
19052 if test "$ac_res" != no; then :
19053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19059 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19060 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19061 $as_echo_n "(cached) " >&6
19063 ac_func_search_save_LIBS=$LIBS
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19067 /* Override any GCC internal prototype to avoid an error.
19068 Use char because int might match the return type of a GCC
19069 builtin and then its argument prototype would still apply. */
19073 char clock_gettime ();
19077 return clock_gettime ();
19082 for ac_lib in '' posix4; do
19083 if test -z "$ac_lib"; then
19084 ac_res="none required"
19087 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19089 if test x$gcc_no_link = xyes; then
19090 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19092 if ac_fn_cxx_try_link "$LINENO"; then :
19093 ac_cv_search_clock_gettime=$ac_res
19095 rm -f core conftest.err conftest.$ac_objext \
19097 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19101 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19104 ac_cv_search_clock_gettime=no
19106 rm conftest.$ac_ext
19107 LIBS=$ac_func_search_save_LIBS
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19110 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19111 ac_res=$ac_cv_search_clock_gettime
19112 if test "$ac_res" != no; then :
19113 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19118 $as_echo_n "checking for library containing nanosleep... " >&6; }
19119 if test "${ac_cv_search_nanosleep+set}" = set; then :
19120 $as_echo_n "(cached) " >&6
19122 ac_func_search_save_LIBS=$LIBS
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19126 /* Override any GCC internal prototype to avoid an error.
19127 Use char because int might match the return type of a GCC
19128 builtin and then its argument prototype would still apply. */
19136 return nanosleep ();
19141 for ac_lib in '' posix4; do
19142 if test -z "$ac_lib"; then
19143 ac_res="none required"
19146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19148 if test x$gcc_no_link = xyes; then
19149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19151 if ac_fn_cxx_try_link "$LINENO"; then :
19152 ac_cv_search_nanosleep=$ac_res
19154 rm -f core conftest.err conftest.$ac_objext \
19156 if test "${ac_cv_search_nanosleep+set}" = set; then :
19160 if test "${ac_cv_search_nanosleep+set}" = set; then :
19163 ac_cv_search_nanosleep=no
19165 rm conftest.$ac_ext
19166 LIBS=$ac_func_search_save_LIBS
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19169 $as_echo "$ac_cv_search_nanosleep" >&6; }
19170 ac_res=$ac_cv_search_nanosleep
19171 if test "$ac_res" != no; then :
19172 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19178 case "$ac_cv_search_clock_gettime" in
19179 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19182 case "$ac_cv_search_nanosleep" in
19183 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19188 $as_echo_n "checking for library containing sched_yield... " >&6; }
19189 if test "${ac_cv_search_sched_yield+set}" = set; then :
19190 $as_echo_n "(cached) " >&6
19192 ac_func_search_save_LIBS=$LIBS
19193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h. */
19196 /* Override any GCC internal prototype to avoid an error.
19197 Use char because int might match the return type of a GCC
19198 builtin and then its argument prototype would still apply. */
19202 char sched_yield ();
19206 return sched_yield ();
19211 for ac_lib in '' rt posix4; do
19212 if test -z "$ac_lib"; then
19213 ac_res="none required"
19216 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19218 if test x$gcc_no_link = xyes; then
19219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19221 if ac_fn_cxx_try_link "$LINENO"; then :
19222 ac_cv_search_sched_yield=$ac_res
19224 rm -f core conftest.err conftest.$ac_objext \
19226 if test "${ac_cv_search_sched_yield+set}" = set; then :
19230 if test "${ac_cv_search_sched_yield+set}" = set; then :
19233 ac_cv_search_sched_yield=no
19235 rm conftest.$ac_ext
19236 LIBS=$ac_func_search_save_LIBS
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19239 $as_echo "$ac_cv_search_sched_yield" >&6; }
19240 ac_res=$ac_cv_search_sched_yield
19241 if test "$ac_res" != no; then :
19242 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19247 case "$ac_cv_search_sched_yield" in
19249 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19251 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19255 if test x"$enable_libstdcxx_time" = x"rt"; then
19256 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19258 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19264 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19269 for ac_header in unistd.h
19271 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19272 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_UNISTD_H 1
19276 ac_has_unistd_h=yes
19284 if test x"$ac_has_unistd_h" = x"yes"; then
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19286 $as_echo_n "checking for monotonic clock... " >&6; }
19287 if test x$gcc_no_link = xyes; then
19288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 #include <unistd.h>
19298 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19301 clock_gettime(CLOCK_MONOTONIC, &tp);
19307 if ac_fn_cxx_try_link "$LINENO"; then :
19308 ac_has_clock_monotonic=yes
19310 ac_has_clock_monotonic=no
19312 rm -f core conftest.err conftest.$ac_objext \
19313 conftest$ac_exeext conftest.$ac_ext
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19316 $as_echo "$ac_has_clock_monotonic" >&6; }
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19319 $as_echo_n "checking for realtime clock... " >&6; }
19320 if test x$gcc_no_link = xyes; then
19321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h. */
19325 #include <unistd.h>
19331 #if _POSIX_TIMERS > 0
19334 clock_gettime(CLOCK_REALTIME, &tp);
19340 if ac_fn_cxx_try_link "$LINENO"; then :
19341 ac_has_clock_realtime=yes
19343 ac_has_clock_realtime=no
19345 rm -f core conftest.err conftest.$ac_objext \
19346 conftest$ac_exeext conftest.$ac_ext
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19349 $as_echo "$ac_has_clock_realtime" >&6; }
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19352 $as_echo_n "checking for nanosleep... " >&6; }
19353 if test x$gcc_no_link = xyes; then
19354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19358 #include <unistd.h>
19364 #if _POSIX_TIMERS > 0
19373 if ac_fn_cxx_try_link "$LINENO"; then :
19374 ac_has_nanosleep=yes
19376 ac_has_nanosleep=no
19378 rm -f core conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19382 $as_echo "$ac_has_nanosleep" >&6; }
19386 if test x"$ac_has_clock_monotonic" = x"yes"; then
19388 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19392 if test x"$ac_has_clock_realtime" = x"yes"; then
19394 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19398 if test x"$ac_has_nanosleep" = x"yes"; then
19400 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19406 CXXFLAGS="$ac_save_CXXFLAGS"
19407 LIBS="$ac_save_LIBS"
19409 ac_cpp='$CPP $CPPFLAGS'
19410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19416 # For gthread support
19420 ac_cpp='$CXXCPP $CPPFLAGS'
19421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19426 ac_save_CXXFLAGS="$CXXFLAGS"
19427 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19429 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19430 case $target_thread_file in
19432 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19436 $as_echo_n "checking for gthreads library... " >&6; }
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19445 #ifndef __GTHREADS_CXX0X
19449 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19450 #if (defined(_PTHREADS) \
19451 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19459 if ac_fn_cxx_try_compile "$LINENO"; then :
19460 ac_has_gthreads=yes
19464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19467 $as_echo "$ac_has_gthreads" >&6; }
19469 if test x"$ac_has_gthreads" = x"yes"; then
19471 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19475 CXXFLAGS="$ac_save_CXXFLAGS"
19477 ac_cpp='$CPP $CPPFLAGS'
19478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19485 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19486 if test "x$ac_cv_header_locale_h" = x""yes; then :
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19489 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19490 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19491 $as_echo_n "(cached) " >&6
19493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h. */
19495 #include <locale.h>
19504 if ac_fn_c_try_compile "$LINENO"; then :
19505 ac_cv_val_LC_MESSAGES=yes
19507 ac_cv_val_LC_MESSAGES=no
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19512 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19513 if test $ac_cv_val_LC_MESSAGES = yes; then
19515 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19524 # Check for available headers.
19525 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19526 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19527 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19528 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19532 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19533 eval as_val=\$$as_ac_Header
19534 if test "x$as_val" = x""yes; then :
19535 cat >>confdefs.h <<_ACEOF
19536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19544 # Only do link tests if native. Else, hardcode.
19545 if $GLIBCXX_IS_NATIVE; then
19547 # We can do more elaborate tests that assume a working linker.
19552 # Check whether --with-gnu-ld was given.
19553 if test "${with_gnu_ld+set}" = set; then :
19554 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19560 if test "$GCC" = yes; then
19561 # Check if gcc -print-prog-name=ld gives a path.
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19563 $as_echo_n "checking for ld used by $CC... " >&6; }
19566 # gcc leaves a trailing carriage return which upsets mingw
19567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19572 # Accept absolute paths.
19574 re_direlt='/[^/][^/]*/\.\./'
19575 # Canonicalize the pathname of ld
19576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19580 test -z "$LD" && LD="$ac_prog"
19583 # If it fails, then pretend we aren't using GCC.
19587 # If it is relative, then search for the first ld in PATH.
19588 with_gnu_ld=unknown
19591 elif test "$with_gnu_ld" = yes; then
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19593 $as_echo_n "checking for GNU ld... " >&6; }
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19596 $as_echo_n "checking for non-GNU ld... " >&6; }
19598 if test "${lt_cv_path_LD+set}" = set; then :
19599 $as_echo_n "(cached) " >&6
19601 if test -z "$LD"; then
19602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19603 for ac_dir in $PATH; do
19605 test -z "$ac_dir" && ac_dir=.
19606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19607 lt_cv_path_LD="$ac_dir/$ac_prog"
19608 # Check to see if the program is GNU ld. I'd rather use --version,
19609 # but apparently some variants of GNU ld only accept -v.
19610 # Break only if it was the GNU/non-GNU ld that we prefer.
19611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19612 *GNU* | *'with BFD'*)
19613 test "$with_gnu_ld" != no && break
19616 test "$with_gnu_ld" != yes && break
19623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19627 LD="$lt_cv_path_LD"
19628 if test -n "$LD"; then
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19630 $as_echo "$LD" >&6; }
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19633 $as_echo "no" >&6; }
19635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19639 $as_echo_n "(cached) " >&6
19641 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19642 case `$LD -v 2>&1 </dev/null` in
19643 *GNU* | *'with BFD'*)
19644 lt_cv_prog_gnu_ld=yes
19647 lt_cv_prog_gnu_ld=no
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19653 with_gnu_ld=$lt_cv_prog_gnu_ld
19661 # If we're not using GNU ld, then there's no point in even trying these
19662 # tests. Check for that first. We should have already tested for gld
19663 # by now (in libtool), but require it now just to be safe...
19664 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19665 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19669 # The name set by libtool depends on the version of libtool. Shame on us
19670 # for depending on an impl detail, but c'est la vie. Older versions used
19671 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19672 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19673 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19674 # set (hence we're using an older libtool), then set it.
19675 if test x${with_gnu_ld+set} != xset; then
19676 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19677 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19680 with_gnu_ld=$ac_cv_prog_gnu_ld
19684 # Start by getting the version number. I think the libtool test already
19685 # does some of this, but throws away the result.
19686 glibcxx_ld_is_gold=no
19687 if test x"$with_gnu_ld" = x"yes"; then
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19689 $as_echo_n "checking for ld version... " >&6; }
19691 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19692 glibcxx_ld_is_gold=yes
19694 ldver=`$LD --version 2>/dev/null |
19695 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
19697 glibcxx_gnu_ld_version=`echo $ldver | \
19698 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19700 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19703 # Set --gc-sections.
19704 glibcxx_have_gc_sections=no
19705 if test "$glibcxx_ld_is_gold" = "yes"; then
19706 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19707 glibcxx_have_gc_sections=yes
19710 glibcxx_gcsections_min_ld=21602
19711 if test x"$with_gnu_ld" = x"yes" &&
19712 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19713 glibcxx_have_gc_sections=yes
19716 if test "$glibcxx_have_gc_sections" = "yes"; then
19717 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19718 # NB: This flag only works reliably after 2.16.1. Configure tests
19719 # for this are difficult, so hard wire a value that should work.
19721 ac_test_CFLAGS="${CFLAGS+set}"
19722 ac_save_CFLAGS="$CFLAGS"
19723 CFLAGS='-Wl,--gc-sections'
19725 # Check for -Wl,--gc-sections
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19727 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19728 if test x$gcc_no_link = xyes; then
19729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h. */
19733 int one(void) { return 1; }
19734 int two(void) { return 2; }
19744 if ac_fn_c_try_link "$LINENO"; then :
19749 rm -f core conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19751 if test "$ac_gcsections" = "yes"; then
19754 if $CC -c conftest.c; then
19755 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19756 grep "Warning: gc-sections option ignored" > /dev/null; then
19760 rm -f conftest.c conftest.o conftest
19762 if test "$ac_gcsections" = "yes"; then
19763 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19766 $as_echo "$ac_gcsections" >&6; }
19768 if test "$ac_test_CFLAGS" = set; then
19769 CFLAGS="$ac_save_CFLAGS"
19771 # this is the suspicious part
19777 # Note this is only for shared objects.
19779 if test x"$with_gnu_ld" = x"yes"; then
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19781 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19782 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19783 if test -n "$cxx_z_relo"; then
19784 OPT_LDFLAGS="-Wl,-z,relro"
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19788 $as_echo "$ac_ld_relro" >&6; }
19791 # Set linker optimization flags.
19792 if test x"$with_gnu_ld" = x"yes"; then
19793 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19800 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19801 ac_save_CXXFLAGS="$CXXFLAGS"
19802 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19805 $as_echo_n "checking for sin in -lm... " >&6; }
19806 if test "${ac_cv_lib_m_sin+set}" = set; then :
19807 $as_echo_n "(cached) " >&6
19809 ac_check_lib_save_LIBS=$LIBS
19811 if test x$gcc_no_link = xyes; then
19812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19817 /* Override any GCC internal prototype to avoid an error.
19818 Use char because int might match the return type of a GCC
19819 builtin and then its argument prototype would still apply. */
19832 if ac_fn_c_try_link "$LINENO"; then :
19833 ac_cv_lib_m_sin=yes
19837 rm -f core conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19839 LIBS=$ac_check_lib_save_LIBS
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19842 $as_echo "$ac_cv_lib_m_sin" >&6; }
19843 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19847 ac_save_LIBS="$LIBS"
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19853 $as_echo_n "checking for isinf declaration... " >&6; }
19854 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19855 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19856 $as_echo_n "(cached) " >&6
19861 ac_cpp='$CXXCPP $CPPFLAGS'
19862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19869 #ifdef HAVE_IEEEFP_H
19870 #include <ieeefp.h>
19881 if ac_fn_cxx_try_compile "$LINENO"; then :
19882 glibcxx_cv_func_isinf_use=yes
19884 glibcxx_cv_func_isinf_use=no
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19888 ac_cpp='$CPP $CPPFLAGS'
19889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19898 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19900 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19901 for ac_func in isinf
19903 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19904 if test "x$ac_cv_func_isinf" = x""yes; then :
19905 cat >>confdefs.h <<_ACEOF
19906 #define HAVE_ISINF 1
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19915 $as_echo_n "checking for _isinf declaration... " >&6; }
19916 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19917 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19918 $as_echo_n "(cached) " >&6
19923 ac_cpp='$CXXCPP $CPPFLAGS'
19924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19931 #ifdef HAVE_IEEEFP_H
19932 #include <ieeefp.h>
19943 if ac_fn_cxx_try_compile "$LINENO"; then :
19944 glibcxx_cv_func__isinf_use=yes
19946 glibcxx_cv_func__isinf_use=no
19948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19950 ac_cpp='$CPP $CPPFLAGS'
19951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19960 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19962 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19963 for ac_func in _isinf
19965 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19966 if test "x$ac_cv_func__isinf" = x""yes; then :
19967 cat >>confdefs.h <<_ACEOF
19968 #define HAVE__ISINF 1
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19982 $as_echo_n "checking for isnan declaration... " >&6; }
19983 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19984 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19985 $as_echo_n "(cached) " >&6
19990 ac_cpp='$CXXCPP $CPPFLAGS'
19991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19996 /* end confdefs.h. */
19998 #ifdef HAVE_IEEEFP_H
19999 #include <ieeefp.h>
20010 if ac_fn_cxx_try_compile "$LINENO"; then :
20011 glibcxx_cv_func_isnan_use=yes
20013 glibcxx_cv_func_isnan_use=no
20015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20017 ac_cpp='$CPP $CPPFLAGS'
20018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20027 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20029 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20030 for ac_func in isnan
20032 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20033 if test "x$ac_cv_func_isnan" = x""yes; then :
20034 cat >>confdefs.h <<_ACEOF
20035 #define HAVE_ISNAN 1
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20044 $as_echo_n "checking for _isnan declaration... " >&6; }
20045 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20046 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20047 $as_echo_n "(cached) " >&6
20052 ac_cpp='$CXXCPP $CPPFLAGS'
20053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20060 #ifdef HAVE_IEEEFP_H
20061 #include <ieeefp.h>
20072 if ac_fn_cxx_try_compile "$LINENO"; then :
20073 glibcxx_cv_func__isnan_use=yes
20075 glibcxx_cv_func__isnan_use=no
20077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20079 ac_cpp='$CPP $CPPFLAGS'
20080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20089 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20091 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20092 for ac_func in _isnan
20094 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20095 if test "x$ac_cv_func__isnan" = x""yes; then :
20096 cat >>confdefs.h <<_ACEOF
20097 #define HAVE__ISNAN 1
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20111 $as_echo_n "checking for finite declaration... " >&6; }
20112 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20113 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20114 $as_echo_n "(cached) " >&6
20119 ac_cpp='$CXXCPP $CPPFLAGS'
20120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h. */
20127 #ifdef HAVE_IEEEFP_H
20128 #include <ieeefp.h>
20139 if ac_fn_cxx_try_compile "$LINENO"; then :
20140 glibcxx_cv_func_finite_use=yes
20142 glibcxx_cv_func_finite_use=no
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20146 ac_cpp='$CPP $CPPFLAGS'
20147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20156 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20158 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20159 for ac_func in finite
20161 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20162 if test "x$ac_cv_func_finite" = x""yes; then :
20163 cat >>confdefs.h <<_ACEOF
20164 #define HAVE_FINITE 1
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20173 $as_echo_n "checking for _finite declaration... " >&6; }
20174 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20175 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20176 $as_echo_n "(cached) " >&6
20181 ac_cpp='$CXXCPP $CPPFLAGS'
20182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h. */
20189 #ifdef HAVE_IEEEFP_H
20190 #include <ieeefp.h>
20201 if ac_fn_cxx_try_compile "$LINENO"; then :
20202 glibcxx_cv_func__finite_use=yes
20204 glibcxx_cv_func__finite_use=no
20206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20208 ac_cpp='$CPP $CPPFLAGS'
20209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20218 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20220 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20221 for ac_func in _finite
20223 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20224 if test "x$ac_cv_func__finite" = x""yes; then :
20225 cat >>confdefs.h <<_ACEOF
20226 #define HAVE__FINITE 1
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20240 $as_echo_n "checking for sincos declaration... " >&6; }
20241 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20242 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20243 $as_echo_n "(cached) " >&6
20248 ac_cpp='$CXXCPP $CPPFLAGS'
20249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h. */
20264 if ac_fn_cxx_try_compile "$LINENO"; then :
20265 glibcxx_cv_func_sincos_use=yes
20267 glibcxx_cv_func_sincos_use=no
20269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271 ac_cpp='$CPP $CPPFLAGS'
20272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20281 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20283 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20284 for ac_func in sincos
20286 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20287 if test "x$ac_cv_func_sincos" = x""yes; then :
20288 cat >>confdefs.h <<_ACEOF
20289 #define HAVE_SINCOS 1
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20298 $as_echo_n "checking for _sincos declaration... " >&6; }
20299 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20300 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20301 $as_echo_n "(cached) " >&6
20306 ac_cpp='$CXXCPP $CPPFLAGS'
20307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20322 if ac_fn_cxx_try_compile "$LINENO"; then :
20323 glibcxx_cv_func__sincos_use=yes
20325 glibcxx_cv_func__sincos_use=no
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20329 ac_cpp='$CPP $CPPFLAGS'
20330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20339 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20341 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20342 for ac_func in _sincos
20344 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20345 if test "x$ac_cv_func__sincos" = x""yes; then :
20346 cat >>confdefs.h <<_ACEOF
20347 #define HAVE__SINCOS 1
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20361 $as_echo_n "checking for fpclass declaration... " >&6; }
20362 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20363 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20364 $as_echo_n "(cached) " >&6
20369 ac_cpp='$CXXCPP $CPPFLAGS'
20370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20375 /* end confdefs.h. */
20377 #ifdef HAVE_IEEEFP_H
20378 #include <ieeefp.h>
20389 if ac_fn_cxx_try_compile "$LINENO"; then :
20390 glibcxx_cv_func_fpclass_use=yes
20392 glibcxx_cv_func_fpclass_use=no
20394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20396 ac_cpp='$CPP $CPPFLAGS'
20397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20406 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20408 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20409 for ac_func in fpclass
20411 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20412 if test "x$ac_cv_func_fpclass" = x""yes; then :
20413 cat >>confdefs.h <<_ACEOF
20414 #define HAVE_FPCLASS 1
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20423 $as_echo_n "checking for _fpclass declaration... " >&6; }
20424 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20425 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20426 $as_echo_n "(cached) " >&6
20431 ac_cpp='$CXXCPP $CPPFLAGS'
20432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20439 #ifdef HAVE_IEEEFP_H
20440 #include <ieeefp.h>
20451 if ac_fn_cxx_try_compile "$LINENO"; then :
20452 glibcxx_cv_func__fpclass_use=yes
20454 glibcxx_cv_func__fpclass_use=no
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20458 ac_cpp='$CPP $CPPFLAGS'
20459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20468 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20470 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20471 for ac_func in _fpclass
20473 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20474 if test "x$ac_cv_func__fpclass" = x""yes; then :
20475 cat >>confdefs.h <<_ACEOF
20476 #define HAVE__FPCLASS 1
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20490 $as_echo_n "checking for qfpclass declaration... " >&6; }
20491 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20492 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20493 $as_echo_n "(cached) " >&6
20498 ac_cpp='$CXXCPP $CPPFLAGS'
20499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20504 /* end confdefs.h. */
20506 #ifdef HAVE_IEEEFP_H
20507 #include <ieeefp.h>
20518 if ac_fn_cxx_try_compile "$LINENO"; then :
20519 glibcxx_cv_func_qfpclass_use=yes
20521 glibcxx_cv_func_qfpclass_use=no
20523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 ac_cpp='$CPP $CPPFLAGS'
20526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20535 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20537 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20538 for ac_func in qfpclass
20540 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20541 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20542 cat >>confdefs.h <<_ACEOF
20543 #define HAVE_QFPCLASS 1
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20552 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20553 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20554 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20555 $as_echo_n "(cached) " >&6
20560 ac_cpp='$CXXCPP $CPPFLAGS'
20561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20568 #ifdef HAVE_IEEEFP_H
20569 #include <ieeefp.h>
20580 if ac_fn_cxx_try_compile "$LINENO"; then :
20581 glibcxx_cv_func__qfpclass_use=yes
20583 glibcxx_cv_func__qfpclass_use=no
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20587 ac_cpp='$CPP $CPPFLAGS'
20588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20597 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20599 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20600 for ac_func in _qfpclass
20602 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20603 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20604 cat >>confdefs.h <<_ACEOF
20605 #define HAVE__QFPCLASS 1
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20619 $as_echo_n "checking for hypot declaration... " >&6; }
20620 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20621 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20622 $as_echo_n "(cached) " >&6
20627 ac_cpp='$CXXCPP $CPPFLAGS'
20628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20643 if ac_fn_cxx_try_compile "$LINENO"; then :
20644 glibcxx_cv_func_hypot_use=yes
20646 glibcxx_cv_func_hypot_use=no
20648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20650 ac_cpp='$CPP $CPPFLAGS'
20651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20660 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20662 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20663 for ac_func in hypot
20665 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20666 if test "x$ac_cv_func_hypot" = x""yes; then :
20667 cat >>confdefs.h <<_ACEOF
20668 #define HAVE_HYPOT 1
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20677 $as_echo_n "checking for _hypot declaration... " >&6; }
20678 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20679 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20680 $as_echo_n "(cached) " >&6
20685 ac_cpp='$CXXCPP $CPPFLAGS'
20686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h. */
20701 if ac_fn_cxx_try_compile "$LINENO"; then :
20702 glibcxx_cv_func__hypot_use=yes
20704 glibcxx_cv_func__hypot_use=no
20706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20708 ac_cpp='$CPP $CPPFLAGS'
20709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20718 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20720 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20721 for ac_func in _hypot
20723 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20724 if test "x$ac_cv_func__hypot" = x""yes; then :
20725 cat >>confdefs.h <<_ACEOF
20726 #define HAVE__HYPOT 1
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20740 $as_echo_n "checking for float trig functions... " >&6; }
20741 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20742 $as_echo_n "(cached) " >&6
20747 ac_cpp='$CXXCPP $CPPFLAGS'
20748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h. */
20758 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20763 if ac_fn_cxx_try_compile "$LINENO"; then :
20764 glibcxx_cv_func_float_trig_use=yes
20766 glibcxx_cv_func_float_trig_use=no
20768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20770 ac_cpp='$CPP $CPPFLAGS'
20771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20778 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20779 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20780 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20784 eval as_val=\$$as_ac_var
20785 if test "x$as_val" = x""yes; then :
20786 cat >>confdefs.h <<_ACEOF
20787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20795 $as_echo_n "checking for _float trig functions... " >&6; }
20796 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20797 $as_echo_n "(cached) " >&6
20802 ac_cpp='$CXXCPP $CPPFLAGS'
20803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20808 /* end confdefs.h. */
20813 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20818 if ac_fn_cxx_try_compile "$LINENO"; then :
20819 glibcxx_cv_func__float_trig_use=yes
20821 glibcxx_cv_func__float_trig_use=no
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825 ac_cpp='$CPP $CPPFLAGS'
20826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20833 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20834 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20835 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20837 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20839 eval as_val=\$$as_ac_var
20840 if test "x$as_val" = x""yes; then :
20841 cat >>confdefs.h <<_ACEOF
20842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20856 $as_echo_n "checking for float round functions... " >&6; }
20857 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20858 $as_echo_n "(cached) " >&6
20863 ac_cpp='$CXXCPP $CPPFLAGS'
20864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20869 /* end confdefs.h. */
20874 ceilf (0); floorf (0);
20879 if ac_fn_cxx_try_compile "$LINENO"; then :
20880 glibcxx_cv_func_float_round_use=yes
20882 glibcxx_cv_func_float_round_use=no
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20886 ac_cpp='$CPP $CPPFLAGS'
20887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20894 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20895 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20896 for ac_func in ceilf floorf
20898 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20899 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20900 eval as_val=\$$as_ac_var
20901 if test "x$as_val" = x""yes; then :
20902 cat >>confdefs.h <<_ACEOF
20903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20911 $as_echo_n "checking for _float round functions... " >&6; }
20912 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20913 $as_echo_n "(cached) " >&6
20918 ac_cpp='$CXXCPP $CPPFLAGS'
20919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20929 _ceilf (0); _floorf (0);
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935 glibcxx_cv_func__float_round_use=yes
20937 glibcxx_cv_func__float_round_use=no
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20941 ac_cpp='$CPP $CPPFLAGS'
20942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20949 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20950 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20951 for ac_func in _ceilf _floorf
20953 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20955 eval as_val=\$$as_ac_var
20956 if test "x$as_val" = x""yes; then :
20957 cat >>confdefs.h <<_ACEOF
20958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20973 $as_echo_n "checking for expf declaration... " >&6; }
20974 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20975 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20976 $as_echo_n "(cached) " >&6
20981 ac_cpp='$CXXCPP $CPPFLAGS'
20982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20989 #ifdef HAVE_IEEEFP_H
20990 #include <ieeefp.h>
21001 if ac_fn_cxx_try_compile "$LINENO"; then :
21002 glibcxx_cv_func_expf_use=yes
21004 glibcxx_cv_func_expf_use=no
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21008 ac_cpp='$CPP $CPPFLAGS'
21009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21018 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21020 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21021 for ac_func in expf
21023 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21024 if test "x$ac_cv_func_expf" = x""yes; then :
21025 cat >>confdefs.h <<_ACEOF
21026 #define HAVE_EXPF 1
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21035 $as_echo_n "checking for _expf declaration... " >&6; }
21036 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21037 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21038 $as_echo_n "(cached) " >&6
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21051 #ifdef HAVE_IEEEFP_H
21052 #include <ieeefp.h>
21063 if ac_fn_cxx_try_compile "$LINENO"; then :
21064 glibcxx_cv_func__expf_use=yes
21066 glibcxx_cv_func__expf_use=no
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21080 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21082 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21083 for ac_func in _expf
21085 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21086 if test "x$ac_cv_func__expf" = x""yes; then :
21087 cat >>confdefs.h <<_ACEOF
21088 #define HAVE__EXPF 1
21101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21102 $as_echo_n "checking for isnanf declaration... " >&6; }
21103 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21104 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21105 $as_echo_n "(cached) " >&6
21110 ac_cpp='$CXXCPP $CPPFLAGS'
21111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21116 /* end confdefs.h. */
21118 #ifdef HAVE_IEEEFP_H
21119 #include <ieeefp.h>
21130 if ac_fn_cxx_try_compile "$LINENO"; then :
21131 glibcxx_cv_func_isnanf_use=yes
21133 glibcxx_cv_func_isnanf_use=no
21135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 ac_cpp='$CPP $CPPFLAGS'
21138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21147 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21149 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21150 for ac_func in isnanf
21152 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21153 if test "x$ac_cv_func_isnanf" = x""yes; then :
21154 cat >>confdefs.h <<_ACEOF
21155 #define HAVE_ISNANF 1
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21164 $as_echo_n "checking for _isnanf declaration... " >&6; }
21165 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21166 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21167 $as_echo_n "(cached) " >&6
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21180 #ifdef HAVE_IEEEFP_H
21181 #include <ieeefp.h>
21192 if ac_fn_cxx_try_compile "$LINENO"; then :
21193 glibcxx_cv_func__isnanf_use=yes
21195 glibcxx_cv_func__isnanf_use=no
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21209 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21211 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21212 for ac_func in _isnanf
21214 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21215 if test "x$ac_cv_func__isnanf" = x""yes; then :
21216 cat >>confdefs.h <<_ACEOF
21217 #define HAVE__ISNANF 1
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21231 $as_echo_n "checking for isinff declaration... " >&6; }
21232 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21233 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21234 $as_echo_n "(cached) " >&6
21239 ac_cpp='$CXXCPP $CPPFLAGS'
21240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21245 /* end confdefs.h. */
21247 #ifdef HAVE_IEEEFP_H
21248 #include <ieeefp.h>
21259 if ac_fn_cxx_try_compile "$LINENO"; then :
21260 glibcxx_cv_func_isinff_use=yes
21262 glibcxx_cv_func_isinff_use=no
21264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21276 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21278 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21279 for ac_func in isinff
21281 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21282 if test "x$ac_cv_func_isinff" = x""yes; then :
21283 cat >>confdefs.h <<_ACEOF
21284 #define HAVE_ISINFF 1
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21293 $as_echo_n "checking for _isinff declaration... " >&6; }
21294 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21295 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21296 $as_echo_n "(cached) " >&6
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21309 #ifdef HAVE_IEEEFP_H
21310 #include <ieeefp.h>
21321 if ac_fn_cxx_try_compile "$LINENO"; then :
21322 glibcxx_cv_func__isinff_use=yes
21324 glibcxx_cv_func__isinff_use=no
21326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21328 ac_cpp='$CPP $CPPFLAGS'
21329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21338 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21340 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21341 for ac_func in _isinff
21343 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21344 if test "x$ac_cv_func__isinff" = x""yes; then :
21345 cat >>confdefs.h <<_ACEOF
21346 #define HAVE__ISINFF 1
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21360 $as_echo_n "checking for atan2f declaration... " >&6; }
21361 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21362 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21363 $as_echo_n "(cached) " >&6
21368 ac_cpp='$CXXCPP $CPPFLAGS'
21369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h. */
21384 if ac_fn_cxx_try_compile "$LINENO"; then :
21385 glibcxx_cv_func_atan2f_use=yes
21387 glibcxx_cv_func_atan2f_use=no
21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21391 ac_cpp='$CPP $CPPFLAGS'
21392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21401 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21403 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21404 for ac_func in atan2f
21406 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21407 if test "x$ac_cv_func_atan2f" = x""yes; then :
21408 cat >>confdefs.h <<_ACEOF
21409 #define HAVE_ATAN2F 1
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21418 $as_echo_n "checking for _atan2f declaration... " >&6; }
21419 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21420 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21421 $as_echo_n "(cached) " >&6
21426 ac_cpp='$CXXCPP $CPPFLAGS'
21427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432 /* end confdefs.h. */
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443 glibcxx_cv_func__atan2f_use=yes
21445 glibcxx_cv_func__atan2f_use=no
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 ac_cpp='$CPP $CPPFLAGS'
21450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21459 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21461 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21462 for ac_func in _atan2f
21464 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21465 if test "x$ac_cv_func__atan2f" = x""yes; then :
21466 cat >>confdefs.h <<_ACEOF
21467 #define HAVE__ATAN2F 1
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21481 $as_echo_n "checking for fabsf declaration... " >&6; }
21482 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21483 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21484 $as_echo_n "(cached) " >&6
21489 ac_cpp='$CXXCPP $CPPFLAGS'
21490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21495 /* end confdefs.h. */
21497 #ifdef HAVE_IEEEFP_H
21498 #include <ieeefp.h>
21509 if ac_fn_cxx_try_compile "$LINENO"; then :
21510 glibcxx_cv_func_fabsf_use=yes
21512 glibcxx_cv_func_fabsf_use=no
21514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21516 ac_cpp='$CPP $CPPFLAGS'
21517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21526 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21528 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21529 for ac_func in fabsf
21531 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21532 if test "x$ac_cv_func_fabsf" = x""yes; then :
21533 cat >>confdefs.h <<_ACEOF
21534 #define HAVE_FABSF 1
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21543 $as_echo_n "checking for _fabsf declaration... " >&6; }
21544 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21545 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21546 $as_echo_n "(cached) " >&6
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21557 /* end confdefs.h. */
21559 #ifdef HAVE_IEEEFP_H
21560 #include <ieeefp.h>
21571 if ac_fn_cxx_try_compile "$LINENO"; then :
21572 glibcxx_cv_func__fabsf_use=yes
21574 glibcxx_cv_func__fabsf_use=no
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21588 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21590 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21591 for ac_func in _fabsf
21593 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21594 if test "x$ac_cv_func__fabsf" = x""yes; then :
21595 cat >>confdefs.h <<_ACEOF
21596 #define HAVE__FABSF 1
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21610 $as_echo_n "checking for fmodf declaration... " >&6; }
21611 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21612 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21613 $as_echo_n "(cached) " >&6
21618 ac_cpp='$CXXCPP $CPPFLAGS'
21619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21624 /* end confdefs.h. */
21634 if ac_fn_cxx_try_compile "$LINENO"; then :
21635 glibcxx_cv_func_fmodf_use=yes
21637 glibcxx_cv_func_fmodf_use=no
21639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21641 ac_cpp='$CPP $CPPFLAGS'
21642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21651 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21653 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21654 for ac_func in fmodf
21656 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21657 if test "x$ac_cv_func_fmodf" = x""yes; then :
21658 cat >>confdefs.h <<_ACEOF
21659 #define HAVE_FMODF 1
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21668 $as_echo_n "checking for _fmodf declaration... " >&6; }
21669 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21670 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21671 $as_echo_n "(cached) " >&6
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693 glibcxx_cv_func__fmodf_use=yes
21695 glibcxx_cv_func__fmodf_use=no
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21699 ac_cpp='$CPP $CPPFLAGS'
21700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21709 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21711 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21712 for ac_func in _fmodf
21714 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21715 if test "x$ac_cv_func__fmodf" = x""yes; then :
21716 cat >>confdefs.h <<_ACEOF
21717 #define HAVE__FMODF 1
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21731 $as_echo_n "checking for frexpf declaration... " >&6; }
21732 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21733 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21734 $as_echo_n "(cached) " >&6
21739 ac_cpp='$CXXCPP $CPPFLAGS'
21740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21745 /* end confdefs.h. */
21755 if ac_fn_cxx_try_compile "$LINENO"; then :
21756 glibcxx_cv_func_frexpf_use=yes
21758 glibcxx_cv_func_frexpf_use=no
21760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21762 ac_cpp='$CPP $CPPFLAGS'
21763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21772 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21774 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21775 for ac_func in frexpf
21777 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21778 if test "x$ac_cv_func_frexpf" = x""yes; then :
21779 cat >>confdefs.h <<_ACEOF
21780 #define HAVE_FREXPF 1
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21789 $as_echo_n "checking for _frexpf declaration... " >&6; }
21790 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21791 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21792 $as_echo_n "(cached) " >&6
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h. */
21813 if ac_fn_cxx_try_compile "$LINENO"; then :
21814 glibcxx_cv_func__frexpf_use=yes
21816 glibcxx_cv_func__frexpf_use=no
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 ac_cpp='$CPP $CPPFLAGS'
21821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21830 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21832 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21833 for ac_func in _frexpf
21835 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21836 if test "x$ac_cv_func__frexpf" = x""yes; then :
21837 cat >>confdefs.h <<_ACEOF
21838 #define HAVE__FREXPF 1
21851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21852 $as_echo_n "checking for hypotf declaration... " >&6; }
21853 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21854 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21855 $as_echo_n "(cached) " >&6
21860 ac_cpp='$CXXCPP $CPPFLAGS'
21861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21866 /* end confdefs.h. */
21876 if ac_fn_cxx_try_compile "$LINENO"; then :
21877 glibcxx_cv_func_hypotf_use=yes
21879 glibcxx_cv_func_hypotf_use=no
21881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883 ac_cpp='$CPP $CPPFLAGS'
21884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21893 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21895 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21896 for ac_func in hypotf
21898 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21899 if test "x$ac_cv_func_hypotf" = x""yes; then :
21900 cat >>confdefs.h <<_ACEOF
21901 #define HAVE_HYPOTF 1
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21910 $as_echo_n "checking for _hypotf declaration... " >&6; }
21911 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21912 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21913 $as_echo_n "(cached) " >&6
21918 ac_cpp='$CXXCPP $CPPFLAGS'
21919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h. */
21934 if ac_fn_cxx_try_compile "$LINENO"; then :
21935 glibcxx_cv_func__hypotf_use=yes
21937 glibcxx_cv_func__hypotf_use=no
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21941 ac_cpp='$CPP $CPPFLAGS'
21942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21951 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21953 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21954 for ac_func in _hypotf
21956 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21957 if test "x$ac_cv_func__hypotf" = x""yes; then :
21958 cat >>confdefs.h <<_ACEOF
21959 #define HAVE__HYPOTF 1
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21973 $as_echo_n "checking for ldexpf declaration... " >&6; }
21974 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21975 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21976 $as_echo_n "(cached) " >&6
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21987 /* end confdefs.h. */
21997 if ac_fn_cxx_try_compile "$LINENO"; then :
21998 glibcxx_cv_func_ldexpf_use=yes
22000 glibcxx_cv_func_ldexpf_use=no
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22004 ac_cpp='$CPP $CPPFLAGS'
22005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22014 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22016 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22017 for ac_func in ldexpf
22019 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22020 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22021 cat >>confdefs.h <<_ACEOF
22022 #define HAVE_LDEXPF 1
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22031 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22032 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22033 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22034 $as_echo_n "(cached) " >&6
22039 ac_cpp='$CXXCPP $CPPFLAGS'
22040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22045 /* end confdefs.h. */
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056 glibcxx_cv_func__ldexpf_use=yes
22058 glibcxx_cv_func__ldexpf_use=no
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22072 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22074 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22075 for ac_func in _ldexpf
22077 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22078 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22079 cat >>confdefs.h <<_ACEOF
22080 #define HAVE__LDEXPF 1
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22094 $as_echo_n "checking for logf declaration... " >&6; }
22095 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22096 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22097 $as_echo_n "(cached) " >&6
22102 ac_cpp='$CXXCPP $CPPFLAGS'
22103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22108 /* end confdefs.h. */
22110 #ifdef HAVE_IEEEFP_H
22111 #include <ieeefp.h>
22122 if ac_fn_cxx_try_compile "$LINENO"; then :
22123 glibcxx_cv_func_logf_use=yes
22125 glibcxx_cv_func_logf_use=no
22127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22129 ac_cpp='$CPP $CPPFLAGS'
22130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22139 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22141 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22142 for ac_func in logf
22144 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22145 if test "x$ac_cv_func_logf" = x""yes; then :
22146 cat >>confdefs.h <<_ACEOF
22147 #define HAVE_LOGF 1
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22156 $as_echo_n "checking for _logf declaration... " >&6; }
22157 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22158 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22159 $as_echo_n "(cached) " >&6
22164 ac_cpp='$CXXCPP $CPPFLAGS'
22165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22170 /* end confdefs.h. */
22172 #ifdef HAVE_IEEEFP_H
22173 #include <ieeefp.h>
22184 if ac_fn_cxx_try_compile "$LINENO"; then :
22185 glibcxx_cv_func__logf_use=yes
22187 glibcxx_cv_func__logf_use=no
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22191 ac_cpp='$CPP $CPPFLAGS'
22192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22201 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22203 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22204 for ac_func in _logf
22206 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22207 if test "x$ac_cv_func__logf" = x""yes; then :
22208 cat >>confdefs.h <<_ACEOF
22209 #define HAVE__LOGF 1
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22223 $as_echo_n "checking for log10f declaration... " >&6; }
22224 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22225 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22226 $as_echo_n "(cached) " >&6
22231 ac_cpp='$CXXCPP $CPPFLAGS'
22232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22237 /* end confdefs.h. */
22239 #ifdef HAVE_IEEEFP_H
22240 #include <ieeefp.h>
22251 if ac_fn_cxx_try_compile "$LINENO"; then :
22252 glibcxx_cv_func_log10f_use=yes
22254 glibcxx_cv_func_log10f_use=no
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22268 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22270 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22271 for ac_func in log10f
22273 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22274 if test "x$ac_cv_func_log10f" = x""yes; then :
22275 cat >>confdefs.h <<_ACEOF
22276 #define HAVE_LOG10F 1
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22285 $as_echo_n "checking for _log10f declaration... " >&6; }
22286 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22287 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22288 $as_echo_n "(cached) " >&6
22293 ac_cpp='$CXXCPP $CPPFLAGS'
22294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h. */
22301 #ifdef HAVE_IEEEFP_H
22302 #include <ieeefp.h>
22313 if ac_fn_cxx_try_compile "$LINENO"; then :
22314 glibcxx_cv_func__log10f_use=yes
22316 glibcxx_cv_func__log10f_use=no
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22320 ac_cpp='$CPP $CPPFLAGS'
22321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22330 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22332 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22333 for ac_func in _log10f
22335 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22336 if test "x$ac_cv_func__log10f" = x""yes; then :
22337 cat >>confdefs.h <<_ACEOF
22338 #define HAVE__LOG10F 1
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22352 $as_echo_n "checking for modff declaration... " >&6; }
22353 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22354 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22355 $as_echo_n "(cached) " >&6
22360 ac_cpp='$CXXCPP $CPPFLAGS'
22361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22366 /* end confdefs.h. */
22376 if ac_fn_cxx_try_compile "$LINENO"; then :
22377 glibcxx_cv_func_modff_use=yes
22379 glibcxx_cv_func_modff_use=no
22381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22383 ac_cpp='$CPP $CPPFLAGS'
22384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22393 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22395 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22396 for ac_func in modff
22398 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22399 if test "x$ac_cv_func_modff" = x""yes; then :
22400 cat >>confdefs.h <<_ACEOF
22401 #define HAVE_MODFF 1
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22410 $as_echo_n "checking for _modff declaration... " >&6; }
22411 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22412 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22413 $as_echo_n "(cached) " >&6
22418 ac_cpp='$CXXCPP $CPPFLAGS'
22419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h. */
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435 glibcxx_cv_func__modff_use=yes
22437 glibcxx_cv_func__modff_use=no
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22451 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22453 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22454 for ac_func in _modff
22456 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22457 if test "x$ac_cv_func__modff" = x""yes; then :
22458 cat >>confdefs.h <<_ACEOF
22459 #define HAVE__MODFF 1
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22473 $as_echo_n "checking for modf declaration... " >&6; }
22474 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22475 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22476 $as_echo_n "(cached) " >&6
22481 ac_cpp='$CXXCPP $CPPFLAGS'
22482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22497 if ac_fn_cxx_try_compile "$LINENO"; then :
22498 glibcxx_cv_func_modf_use=yes
22500 glibcxx_cv_func_modf_use=no
22502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22504 ac_cpp='$CPP $CPPFLAGS'
22505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22514 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22516 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22517 for ac_func in modf
22519 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22520 if test "x$ac_cv_func_modf" = x""yes; then :
22521 cat >>confdefs.h <<_ACEOF
22522 #define HAVE_MODF 1
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22531 $as_echo_n "checking for _modf declaration... " >&6; }
22532 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22533 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22534 $as_echo_n "(cached) " >&6
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h. */
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556 glibcxx_cv_func__modf_use=yes
22558 glibcxx_cv_func__modf_use=no
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22572 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22574 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22575 for ac_func in _modf
22577 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22578 if test "x$ac_cv_func__modf" = x""yes; then :
22579 cat >>confdefs.h <<_ACEOF
22580 #define HAVE__MODF 1
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22594 $as_echo_n "checking for powf declaration... " >&6; }
22595 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22596 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22597 $as_echo_n "(cached) " >&6
22602 ac_cpp='$CXXCPP $CPPFLAGS'
22603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22608 /* end confdefs.h. */
22618 if ac_fn_cxx_try_compile "$LINENO"; then :
22619 glibcxx_cv_func_powf_use=yes
22621 glibcxx_cv_func_powf_use=no
22623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22625 ac_cpp='$CPP $CPPFLAGS'
22626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22635 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22637 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22638 for ac_func in powf
22640 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22641 if test "x$ac_cv_func_powf" = x""yes; then :
22642 cat >>confdefs.h <<_ACEOF
22643 #define HAVE_POWF 1
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22652 $as_echo_n "checking for _powf declaration... " >&6; }
22653 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22654 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22655 $as_echo_n "(cached) " >&6
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h. */
22676 if ac_fn_cxx_try_compile "$LINENO"; then :
22677 glibcxx_cv_func__powf_use=yes
22679 glibcxx_cv_func__powf_use=no
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22693 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22695 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22696 for ac_func in _powf
22698 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22699 if test "x$ac_cv_func__powf" = x""yes; then :
22700 cat >>confdefs.h <<_ACEOF
22701 #define HAVE__POWF 1
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22715 $as_echo_n "checking for sqrtf declaration... " >&6; }
22716 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22717 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22718 $as_echo_n "(cached) " >&6
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h. */
22731 #ifdef HAVE_IEEEFP_H
22732 #include <ieeefp.h>
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744 glibcxx_cv_func_sqrtf_use=yes
22746 glibcxx_cv_func_sqrtf_use=no
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22760 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22762 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22763 for ac_func in sqrtf
22765 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22766 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22767 cat >>confdefs.h <<_ACEOF
22768 #define HAVE_SQRTF 1
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22777 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22778 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22779 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22780 $as_echo_n "(cached) " >&6
22785 ac_cpp='$CXXCPP $CPPFLAGS'
22786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h. */
22793 #ifdef HAVE_IEEEFP_H
22794 #include <ieeefp.h>
22805 if ac_fn_cxx_try_compile "$LINENO"; then :
22806 glibcxx_cv_func__sqrtf_use=yes
22808 glibcxx_cv_func__sqrtf_use=no
22810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22812 ac_cpp='$CPP $CPPFLAGS'
22813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22822 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22824 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22825 for ac_func in _sqrtf
22827 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22828 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22829 cat >>confdefs.h <<_ACEOF
22830 #define HAVE__SQRTF 1
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22844 $as_echo_n "checking for sincosf declaration... " >&6; }
22845 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22846 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22847 $as_echo_n "(cached) " >&6
22852 ac_cpp='$CXXCPP $CPPFLAGS'
22853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22858 /* end confdefs.h. */
22868 if ac_fn_cxx_try_compile "$LINENO"; then :
22869 glibcxx_cv_func_sincosf_use=yes
22871 glibcxx_cv_func_sincosf_use=no
22873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22875 ac_cpp='$CPP $CPPFLAGS'
22876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22885 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22887 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22888 for ac_func in sincosf
22890 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22891 if test "x$ac_cv_func_sincosf" = x""yes; then :
22892 cat >>confdefs.h <<_ACEOF
22893 #define HAVE_SINCOSF 1
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22902 $as_echo_n "checking for _sincosf declaration... " >&6; }
22903 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22904 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22905 $as_echo_n "(cached) " >&6
22910 ac_cpp='$CXXCPP $CPPFLAGS'
22911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22916 /* end confdefs.h. */
22926 if ac_fn_cxx_try_compile "$LINENO"; then :
22927 glibcxx_cv_func__sincosf_use=yes
22929 glibcxx_cv_func__sincosf_use=no
22931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22933 ac_cpp='$CPP $CPPFLAGS'
22934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22943 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22945 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22946 for ac_func in _sincosf
22948 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22949 if test "x$ac_cv_func__sincosf" = x""yes; then :
22950 cat >>confdefs.h <<_ACEOF
22951 #define HAVE__SINCOSF 1
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22965 $as_echo_n "checking for finitef declaration... " >&6; }
22966 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22967 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22968 $as_echo_n "(cached) " >&6
22973 ac_cpp='$CXXCPP $CPPFLAGS'
22974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22979 /* end confdefs.h. */
22981 #ifdef HAVE_IEEEFP_H
22982 #include <ieeefp.h>
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994 glibcxx_cv_func_finitef_use=yes
22996 glibcxx_cv_func_finitef_use=no
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23010 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23012 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23013 for ac_func in finitef
23015 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23016 if test "x$ac_cv_func_finitef" = x""yes; then :
23017 cat >>confdefs.h <<_ACEOF
23018 #define HAVE_FINITEF 1
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23027 $as_echo_n "checking for _finitef declaration... " >&6; }
23028 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23029 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23030 $as_echo_n "(cached) " >&6
23035 ac_cpp='$CXXCPP $CPPFLAGS'
23036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23041 /* end confdefs.h. */
23043 #ifdef HAVE_IEEEFP_H
23044 #include <ieeefp.h>
23055 if ac_fn_cxx_try_compile "$LINENO"; then :
23056 glibcxx_cv_func__finitef_use=yes
23058 glibcxx_cv_func__finitef_use=no
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23062 ac_cpp='$CPP $CPPFLAGS'
23063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23072 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23074 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23075 for ac_func in _finitef
23077 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23078 if test "x$ac_cv_func__finitef" = x""yes; then :
23079 cat >>confdefs.h <<_ACEOF
23080 #define HAVE__FINITEF 1
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23094 $as_echo_n "checking for long double trig functions... " >&6; }
23095 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23096 $as_echo_n "(cached) " >&6
23101 ac_cpp='$CXXCPP $CPPFLAGS'
23102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23107 /* end confdefs.h. */
23112 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23117 if ac_fn_cxx_try_compile "$LINENO"; then :
23118 glibcxx_cv_func_long_double_trig_use=yes
23120 glibcxx_cv_func_long_double_trig_use=no
23122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23124 ac_cpp='$CPP $CPPFLAGS'
23125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23132 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23133 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23134 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23138 eval as_val=\$$as_ac_var
23139 if test "x$as_val" = x""yes; then :
23140 cat >>confdefs.h <<_ACEOF
23141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23149 $as_echo_n "checking for _long double trig functions... " >&6; }
23150 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23151 $as_echo_n "(cached) " >&6
23156 ac_cpp='$CXXCPP $CPPFLAGS'
23157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h. */
23167 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23172 if ac_fn_cxx_try_compile "$LINENO"; then :
23173 glibcxx_cv_func__long_double_trig_use=yes
23175 glibcxx_cv_func__long_double_trig_use=no
23177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23179 ac_cpp='$CPP $CPPFLAGS'
23180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23187 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23188 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23189 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23193 eval as_val=\$$as_ac_var
23194 if test "x$as_val" = x""yes; then :
23195 cat >>confdefs.h <<_ACEOF
23196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23210 $as_echo_n "checking for long double round functions... " >&6; }
23211 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23212 $as_echo_n "(cached) " >&6
23217 ac_cpp='$CXXCPP $CPPFLAGS'
23218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23223 /* end confdefs.h. */
23228 ceill (0); floorl (0);
23233 if ac_fn_cxx_try_compile "$LINENO"; then :
23234 glibcxx_cv_func_long_double_round_use=yes
23236 glibcxx_cv_func_long_double_round_use=no
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23248 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23249 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23250 for ac_func in ceill floorl
23252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23254 eval as_val=\$$as_ac_var
23255 if test "x$as_val" = x""yes; then :
23256 cat >>confdefs.h <<_ACEOF
23257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23265 $as_echo_n "checking for _long double round functions... " >&6; }
23266 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h. */
23283 _ceill (0); _floorl (0);
23288 if ac_fn_cxx_try_compile "$LINENO"; then :
23289 glibcxx_cv_func__long_double_round_use=yes
23291 glibcxx_cv_func__long_double_round_use=no
23293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23295 ac_cpp='$CPP $CPPFLAGS'
23296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23303 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23304 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23305 for ac_func in _ceill _floorl
23307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23309 eval as_val=\$$as_ac_var
23310 if test "x$as_val" = x""yes; then :
23311 cat >>confdefs.h <<_ACEOF
23312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23327 $as_echo_n "checking for isnanl declaration... " >&6; }
23328 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23329 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23330 $as_echo_n "(cached) " >&6
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h. */
23343 #ifdef HAVE_IEEEFP_H
23344 #include <ieeefp.h>
23355 if ac_fn_cxx_try_compile "$LINENO"; then :
23356 glibcxx_cv_func_isnanl_use=yes
23358 glibcxx_cv_func_isnanl_use=no
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23362 ac_cpp='$CPP $CPPFLAGS'
23363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23372 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23374 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23375 for ac_func in isnanl
23377 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23378 if test "x$ac_cv_func_isnanl" = x""yes; then :
23379 cat >>confdefs.h <<_ACEOF
23380 #define HAVE_ISNANL 1
23388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23389 $as_echo_n "checking for _isnanl declaration... " >&6; }
23390 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23391 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23392 $as_echo_n "(cached) " >&6
23397 ac_cpp='$CXXCPP $CPPFLAGS'
23398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h. */
23405 #ifdef HAVE_IEEEFP_H
23406 #include <ieeefp.h>
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418 glibcxx_cv_func__isnanl_use=yes
23420 glibcxx_cv_func__isnanl_use=no
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23424 ac_cpp='$CPP $CPPFLAGS'
23425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23434 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23436 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23437 for ac_func in _isnanl
23439 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23440 if test "x$ac_cv_func__isnanl" = x""yes; then :
23441 cat >>confdefs.h <<_ACEOF
23442 #define HAVE__ISNANL 1
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23456 $as_echo_n "checking for isinfl declaration... " >&6; }
23457 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23458 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h. */
23472 #ifdef HAVE_IEEEFP_H
23473 #include <ieeefp.h>
23484 if ac_fn_cxx_try_compile "$LINENO"; then :
23485 glibcxx_cv_func_isinfl_use=yes
23487 glibcxx_cv_func_isinfl_use=no
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 ac_cpp='$CPP $CPPFLAGS'
23492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23501 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23503 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23504 for ac_func in isinfl
23506 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23507 if test "x$ac_cv_func_isinfl" = x""yes; then :
23508 cat >>confdefs.h <<_ACEOF
23509 #define HAVE_ISINFL 1
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23518 $as_echo_n "checking for _isinfl declaration... " >&6; }
23519 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23520 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23521 $as_echo_n "(cached) " >&6
23526 ac_cpp='$CXXCPP $CPPFLAGS'
23527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23532 /* end confdefs.h. */
23534 #ifdef HAVE_IEEEFP_H
23535 #include <ieeefp.h>
23546 if ac_fn_cxx_try_compile "$LINENO"; then :
23547 glibcxx_cv_func__isinfl_use=yes
23549 glibcxx_cv_func__isinfl_use=no
23551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23553 ac_cpp='$CPP $CPPFLAGS'
23554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23563 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23565 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23566 for ac_func in _isinfl
23568 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23569 if test "x$ac_cv_func__isinfl" = x""yes; then :
23570 cat >>confdefs.h <<_ACEOF
23571 #define HAVE__ISINFL 1
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23585 $as_echo_n "checking for atan2l declaration... " >&6; }
23586 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23587 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23588 $as_echo_n "(cached) " >&6
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23599 /* end confdefs.h. */
23609 if ac_fn_cxx_try_compile "$LINENO"; then :
23610 glibcxx_cv_func_atan2l_use=yes
23612 glibcxx_cv_func_atan2l_use=no
23614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23616 ac_cpp='$CPP $CPPFLAGS'
23617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23626 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23628 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23629 for ac_func in atan2l
23631 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23632 if test "x$ac_cv_func_atan2l" = x""yes; then :
23633 cat >>confdefs.h <<_ACEOF
23634 #define HAVE_ATAN2L 1
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23643 $as_echo_n "checking for _atan2l declaration... " >&6; }
23644 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23645 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23646 $as_echo_n "(cached) " >&6
23651 ac_cpp='$CXXCPP $CPPFLAGS'
23652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668 glibcxx_cv_func__atan2l_use=yes
23670 glibcxx_cv_func__atan2l_use=no
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23684 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23686 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23687 for ac_func in _atan2l
23689 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23690 if test "x$ac_cv_func__atan2l" = x""yes; then :
23691 cat >>confdefs.h <<_ACEOF
23692 #define HAVE__ATAN2L 1
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23706 $as_echo_n "checking for expl declaration... " >&6; }
23707 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23708 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23709 $as_echo_n "(cached) " >&6
23714 ac_cpp='$CXXCPP $CPPFLAGS'
23715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23720 /* end confdefs.h. */
23722 #ifdef HAVE_IEEEFP_H
23723 #include <ieeefp.h>
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735 glibcxx_cv_func_expl_use=yes
23737 glibcxx_cv_func_expl_use=no
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23751 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23753 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23754 for ac_func in expl
23756 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23757 if test "x$ac_cv_func_expl" = x""yes; then :
23758 cat >>confdefs.h <<_ACEOF
23759 #define HAVE_EXPL 1
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23768 $as_echo_n "checking for _expl declaration... " >&6; }
23769 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23770 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23771 $as_echo_n "(cached) " >&6
23776 ac_cpp='$CXXCPP $CPPFLAGS'
23777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23784 #ifdef HAVE_IEEEFP_H
23785 #include <ieeefp.h>
23796 if ac_fn_cxx_try_compile "$LINENO"; then :
23797 glibcxx_cv_func__expl_use=yes
23799 glibcxx_cv_func__expl_use=no
23801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23803 ac_cpp='$CPP $CPPFLAGS'
23804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23813 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23815 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23816 for ac_func in _expl
23818 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23819 if test "x$ac_cv_func__expl" = x""yes; then :
23820 cat >>confdefs.h <<_ACEOF
23821 #define HAVE__EXPL 1
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23835 $as_echo_n "checking for fabsl declaration... " >&6; }
23836 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23837 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23838 $as_echo_n "(cached) " >&6
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h. */
23851 #ifdef HAVE_IEEEFP_H
23852 #include <ieeefp.h>
23863 if ac_fn_cxx_try_compile "$LINENO"; then :
23864 glibcxx_cv_func_fabsl_use=yes
23866 glibcxx_cv_func_fabsl_use=no
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23880 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23882 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23883 for ac_func in fabsl
23885 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23886 if test "x$ac_cv_func_fabsl" = x""yes; then :
23887 cat >>confdefs.h <<_ACEOF
23888 #define HAVE_FABSL 1
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23897 $as_echo_n "checking for _fabsl declaration... " >&6; }
23898 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23899 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23900 $as_echo_n "(cached) " >&6
23905 ac_cpp='$CXXCPP $CPPFLAGS'
23906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23911 /* end confdefs.h. */
23913 #ifdef HAVE_IEEEFP_H
23914 #include <ieeefp.h>
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926 glibcxx_cv_func__fabsl_use=yes
23928 glibcxx_cv_func__fabsl_use=no
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23942 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23944 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23945 for ac_func in _fabsl
23947 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23948 if test "x$ac_cv_func__fabsl" = x""yes; then :
23949 cat >>confdefs.h <<_ACEOF
23950 #define HAVE__FABSL 1
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23964 $as_echo_n "checking for fmodl declaration... " >&6; }
23965 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23966 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23967 $as_echo_n "(cached) " >&6
23972 ac_cpp='$CXXCPP $CPPFLAGS'
23973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23978 /* end confdefs.h. */
23988 if ac_fn_cxx_try_compile "$LINENO"; then :
23989 glibcxx_cv_func_fmodl_use=yes
23991 glibcxx_cv_func_fmodl_use=no
23993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23995 ac_cpp='$CPP $CPPFLAGS'
23996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24005 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24007 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24008 for ac_func in fmodl
24010 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24011 if test "x$ac_cv_func_fmodl" = x""yes; then :
24012 cat >>confdefs.h <<_ACEOF
24013 #define HAVE_FMODL 1
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24022 $as_echo_n "checking for _fmodl declaration... " >&6; }
24023 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24024 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24025 $as_echo_n "(cached) " >&6
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h. */
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047 glibcxx_cv_func__fmodl_use=yes
24049 glibcxx_cv_func__fmodl_use=no
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24063 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24065 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24066 for ac_func in _fmodl
24068 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24069 if test "x$ac_cv_func__fmodl" = x""yes; then :
24070 cat >>confdefs.h <<_ACEOF
24071 #define HAVE__FMODL 1
24084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24085 $as_echo_n "checking for frexpl declaration... " >&6; }
24086 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24087 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24088 $as_echo_n "(cached) " >&6
24093 ac_cpp='$CXXCPP $CPPFLAGS'
24094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24099 /* end confdefs.h. */
24109 if ac_fn_cxx_try_compile "$LINENO"; then :
24110 glibcxx_cv_func_frexpl_use=yes
24112 glibcxx_cv_func_frexpl_use=no
24114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24116 ac_cpp='$CPP $CPPFLAGS'
24117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24126 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24128 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24129 for ac_func in frexpl
24131 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24132 if test "x$ac_cv_func_frexpl" = x""yes; then :
24133 cat >>confdefs.h <<_ACEOF
24134 #define HAVE_FREXPL 1
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24143 $as_echo_n "checking for _frexpl declaration... " >&6; }
24144 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24145 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h. */
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168 glibcxx_cv_func__frexpl_use=yes
24170 glibcxx_cv_func__frexpl_use=no
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24184 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24186 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24187 for ac_func in _frexpl
24189 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24190 if test "x$ac_cv_func__frexpl" = x""yes; then :
24191 cat >>confdefs.h <<_ACEOF
24192 #define HAVE__FREXPL 1
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24206 $as_echo_n "checking for hypotl declaration... " >&6; }
24207 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24208 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24209 $as_echo_n "(cached) " >&6
24214 ac_cpp='$CXXCPP $CPPFLAGS'
24215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24220 /* end confdefs.h. */
24230 if ac_fn_cxx_try_compile "$LINENO"; then :
24231 glibcxx_cv_func_hypotl_use=yes
24233 glibcxx_cv_func_hypotl_use=no
24235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24237 ac_cpp='$CPP $CPPFLAGS'
24238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24247 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24249 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24250 for ac_func in hypotl
24252 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24253 if test "x$ac_cv_func_hypotl" = x""yes; then :
24254 cat >>confdefs.h <<_ACEOF
24255 #define HAVE_HYPOTL 1
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24264 $as_echo_n "checking for _hypotl declaration... " >&6; }
24265 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24266 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24288 if ac_fn_cxx_try_compile "$LINENO"; then :
24289 glibcxx_cv_func__hypotl_use=yes
24291 glibcxx_cv_func__hypotl_use=no
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24295 ac_cpp='$CPP $CPPFLAGS'
24296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24305 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24307 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24308 for ac_func in _hypotl
24310 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24311 if test "x$ac_cv_func__hypotl" = x""yes; then :
24312 cat >>confdefs.h <<_ACEOF
24313 #define HAVE__HYPOTL 1
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24327 $as_echo_n "checking for ldexpl declaration... " >&6; }
24328 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24329 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24330 $as_echo_n "(cached) " >&6
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24341 /* end confdefs.h. */
24351 if ac_fn_cxx_try_compile "$LINENO"; then :
24352 glibcxx_cv_func_ldexpl_use=yes
24354 glibcxx_cv_func_ldexpl_use=no
24356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24358 ac_cpp='$CPP $CPPFLAGS'
24359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24368 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24370 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24371 for ac_func in ldexpl
24373 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24374 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24375 cat >>confdefs.h <<_ACEOF
24376 #define HAVE_LDEXPL 1
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24385 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24386 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24387 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24388 $as_echo_n "(cached) " >&6
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410 glibcxx_cv_func__ldexpl_use=yes
24412 glibcxx_cv_func__ldexpl_use=no
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24426 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24428 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24429 for ac_func in _ldexpl
24431 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24432 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24433 cat >>confdefs.h <<_ACEOF
24434 #define HAVE__LDEXPL 1
24447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24448 $as_echo_n "checking for logl declaration... " >&6; }
24449 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24450 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24451 $as_echo_n "(cached) " >&6
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24464 #ifdef HAVE_IEEEFP_H
24465 #include <ieeefp.h>
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func_logl_use=yes
24479 glibcxx_cv_func_logl_use=no
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24493 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24495 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24496 for ac_func in logl
24498 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24499 if test "x$ac_cv_func_logl" = x""yes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE_LOGL 1
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24510 $as_echo_n "checking for _logl declaration... " >&6; }
24511 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24512 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24513 $as_echo_n "(cached) " >&6
24518 ac_cpp='$CXXCPP $CPPFLAGS'
24519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24524 /* end confdefs.h. */
24526 #ifdef HAVE_IEEEFP_H
24527 #include <ieeefp.h>
24538 if ac_fn_cxx_try_compile "$LINENO"; then :
24539 glibcxx_cv_func__logl_use=yes
24541 glibcxx_cv_func__logl_use=no
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24545 ac_cpp='$CPP $CPPFLAGS'
24546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24555 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24557 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24558 for ac_func in _logl
24560 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24561 if test "x$ac_cv_func__logl" = x""yes; then :
24562 cat >>confdefs.h <<_ACEOF
24563 #define HAVE__LOGL 1
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24577 $as_echo_n "checking for log10l declaration... " >&6; }
24578 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24579 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24580 $as_echo_n "(cached) " >&6
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func_log10l_use=yes
24608 glibcxx_cv_func_log10l_use=no
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24622 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24624 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24625 for ac_func in log10l
24627 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24628 if test "x$ac_cv_func_log10l" = x""yes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE_LOG10L 1
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24639 $as_echo_n "checking for _log10l declaration... " >&6; }
24640 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24641 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24642 $as_echo_n "(cached) " >&6
24647 ac_cpp='$CXXCPP $CPPFLAGS'
24648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24653 /* end confdefs.h. */
24655 #ifdef HAVE_IEEEFP_H
24656 #include <ieeefp.h>
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668 glibcxx_cv_func__log10l_use=yes
24670 glibcxx_cv_func__log10l_use=no
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24684 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24686 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24687 for ac_func in _log10l
24689 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24690 if test "x$ac_cv_func__log10l" = x""yes; then :
24691 cat >>confdefs.h <<_ACEOF
24692 #define HAVE__LOG10L 1
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24706 $as_echo_n "checking for modfl declaration... " >&6; }
24707 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24708 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24709 $as_echo_n "(cached) " >&6
24714 ac_cpp='$CXXCPP $CPPFLAGS'
24715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24720 /* end confdefs.h. */
24730 if ac_fn_cxx_try_compile "$LINENO"; then :
24731 glibcxx_cv_func_modfl_use=yes
24733 glibcxx_cv_func_modfl_use=no
24735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24737 ac_cpp='$CPP $CPPFLAGS'
24738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24747 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24749 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24750 for ac_func in modfl
24752 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24753 if test "x$ac_cv_func_modfl" = x""yes; then :
24754 cat >>confdefs.h <<_ACEOF
24755 #define HAVE_MODFL 1
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24764 $as_echo_n "checking for _modfl declaration... " >&6; }
24765 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24766 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24767 $as_echo_n "(cached) " >&6
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h. */
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789 glibcxx_cv_func__modfl_use=yes
24791 glibcxx_cv_func__modfl_use=no
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24805 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24807 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24808 for ac_func in _modfl
24810 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24811 if test "x$ac_cv_func__modfl" = x""yes; then :
24812 cat >>confdefs.h <<_ACEOF
24813 #define HAVE__MODFL 1
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24827 $as_echo_n "checking for powl declaration... " >&6; }
24828 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24829 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24830 $as_echo_n "(cached) " >&6
24835 ac_cpp='$CXXCPP $CPPFLAGS'
24836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h. */
24851 if ac_fn_cxx_try_compile "$LINENO"; then :
24852 glibcxx_cv_func_powl_use=yes
24854 glibcxx_cv_func_powl_use=no
24856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24858 ac_cpp='$CPP $CPPFLAGS'
24859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24868 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24870 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24871 for ac_func in powl
24873 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24874 if test "x$ac_cv_func_powl" = x""yes; then :
24875 cat >>confdefs.h <<_ACEOF
24876 #define HAVE_POWL 1
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24885 $as_echo_n "checking for _powl declaration... " >&6; }
24886 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24887 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24888 $as_echo_n "(cached) " >&6
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h. */
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910 glibcxx_cv_func__powl_use=yes
24912 glibcxx_cv_func__powl_use=no
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24926 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24928 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24929 for ac_func in _powl
24931 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24932 if test "x$ac_cv_func__powl" = x""yes; then :
24933 cat >>confdefs.h <<_ACEOF
24934 #define HAVE__POWL 1
24947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24948 $as_echo_n "checking for sqrtl declaration... " >&6; }
24949 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24950 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24951 $as_echo_n "(cached) " >&6
24956 ac_cpp='$CXXCPP $CPPFLAGS'
24957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24962 /* end confdefs.h. */
24964 #ifdef HAVE_IEEEFP_H
24965 #include <ieeefp.h>
24976 if ac_fn_cxx_try_compile "$LINENO"; then :
24977 glibcxx_cv_func_sqrtl_use=yes
24979 glibcxx_cv_func_sqrtl_use=no
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24983 ac_cpp='$CPP $CPPFLAGS'
24984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24993 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24995 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24996 for ac_func in sqrtl
24998 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24999 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25000 cat >>confdefs.h <<_ACEOF
25001 #define HAVE_SQRTL 1
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25010 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25011 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25012 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25013 $as_echo_n "(cached) " >&6
25018 ac_cpp='$CXXCPP $CPPFLAGS'
25019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25024 /* end confdefs.h. */
25026 #ifdef HAVE_IEEEFP_H
25027 #include <ieeefp.h>
25038 if ac_fn_cxx_try_compile "$LINENO"; then :
25039 glibcxx_cv_func__sqrtl_use=yes
25041 glibcxx_cv_func__sqrtl_use=no
25043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045 ac_cpp='$CPP $CPPFLAGS'
25046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25055 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25057 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25058 for ac_func in _sqrtl
25060 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25061 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25062 cat >>confdefs.h <<_ACEOF
25063 #define HAVE__SQRTL 1
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25077 $as_echo_n "checking for sincosl declaration... " >&6; }
25078 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25079 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25080 $as_echo_n "(cached) " >&6
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25091 /* end confdefs.h. */
25101 if ac_fn_cxx_try_compile "$LINENO"; then :
25102 glibcxx_cv_func_sincosl_use=yes
25104 glibcxx_cv_func_sincosl_use=no
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25108 ac_cpp='$CPP $CPPFLAGS'
25109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25118 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25120 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25121 for ac_func in sincosl
25123 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25124 if test "x$ac_cv_func_sincosl" = x""yes; then :
25125 cat >>confdefs.h <<_ACEOF
25126 #define HAVE_SINCOSL 1
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25135 $as_echo_n "checking for _sincosl declaration... " >&6; }
25136 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25137 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25138 $as_echo_n "(cached) " >&6
25143 ac_cpp='$CXXCPP $CPPFLAGS'
25144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h. */
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160 glibcxx_cv_func__sincosl_use=yes
25162 glibcxx_cv_func__sincosl_use=no
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25176 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25178 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25179 for ac_func in _sincosl
25181 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25182 if test "x$ac_cv_func__sincosl" = x""yes; then :
25183 cat >>confdefs.h <<_ACEOF
25184 #define HAVE__SINCOSL 1
25197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25198 $as_echo_n "checking for finitel declaration... " >&6; }
25199 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25200 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25201 $as_echo_n "(cached) " >&6
25206 ac_cpp='$CXXCPP $CPPFLAGS'
25207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25212 /* end confdefs.h. */
25214 #ifdef HAVE_IEEEFP_H
25215 #include <ieeefp.h>
25226 if ac_fn_cxx_try_compile "$LINENO"; then :
25227 glibcxx_cv_func_finitel_use=yes
25229 glibcxx_cv_func_finitel_use=no
25231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25233 ac_cpp='$CPP $CPPFLAGS'
25234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25243 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25245 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25246 for ac_func in finitel
25248 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25249 if test "x$ac_cv_func_finitel" = x""yes; then :
25250 cat >>confdefs.h <<_ACEOF
25251 #define HAVE_FINITEL 1
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25260 $as_echo_n "checking for _finitel declaration... " >&6; }
25261 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25262 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25263 $as_echo_n "(cached) " >&6
25268 ac_cpp='$CXXCPP $CPPFLAGS'
25269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25274 /* end confdefs.h. */
25276 #ifdef HAVE_IEEEFP_H
25277 #include <ieeefp.h>
25288 if ac_fn_cxx_try_compile "$LINENO"; then :
25289 glibcxx_cv_func__finitel_use=yes
25291 glibcxx_cv_func__finitel_use=no
25293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25295 ac_cpp='$CPP $CPPFLAGS'
25296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25305 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25307 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25308 for ac_func in _finitel
25310 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25311 if test "x$ac_cv_func__finitel" = x""yes; then :
25312 cat >>confdefs.h <<_ACEOF
25313 #define HAVE__FINITEL 1
25325 LIBS="$ac_save_LIBS"
25326 CXXFLAGS="$ac_save_CXXFLAGS"
25329 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25330 ac_save_CXXFLAGS="$CXXFLAGS"
25331 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25335 $as_echo_n "checking for strtold declaration... " >&6; }
25336 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25337 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25338 $as_echo_n "(cached) " >&6
25343 ac_cpp='$CXXCPP $CPPFLAGS'
25344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25349 /* end confdefs.h. */
25350 #include <stdlib.h>
25359 if ac_fn_cxx_try_compile "$LINENO"; then :
25360 glibcxx_cv_func_strtold_use=yes
25362 glibcxx_cv_func_strtold_use=no
25364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25366 ac_cpp='$CPP $CPPFLAGS'
25367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25376 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25377 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25378 for ac_func in strtold
25380 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25381 if test "x$ac_cv_func_strtold" = x""yes; then :
25382 cat >>confdefs.h <<_ACEOF
25383 #define HAVE_STRTOLD 1
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25395 $as_echo_n "checking for strtof declaration... " >&6; }
25396 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25397 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25398 $as_echo_n "(cached) " >&6
25403 ac_cpp='$CXXCPP $CPPFLAGS'
25404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25409 /* end confdefs.h. */
25410 #include <stdlib.h>
25419 if ac_fn_cxx_try_compile "$LINENO"; then :
25420 glibcxx_cv_func_strtof_use=yes
25422 glibcxx_cv_func_strtof_use=no
25424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25426 ac_cpp='$CPP $CPPFLAGS'
25427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25436 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25437 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25438 for ac_func in strtof
25440 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25441 if test "x$ac_cv_func_strtof" = x""yes; then :
25442 cat >>confdefs.h <<_ACEOF
25443 #define HAVE_STRTOF 1
25454 CXXFLAGS="$ac_save_CXXFLAGS"
25457 # For /dev/random and /dev/urandom for TR1.
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25461 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25462 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25463 $as_echo_n "(cached) " >&6
25466 if test -r /dev/random && test -r /dev/urandom; then
25467 glibcxx_cv_random_tr1=yes;
25469 glibcxx_cv_random_tr1=no;
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25475 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25477 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25479 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25488 # Check whether --enable-tls was given.
25489 if test "${enable_tls+set}" = set; then :
25490 enableval=$enable_tls;
25491 case "$enableval" in
25493 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25502 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25503 if test "${gcc_cv_have_tls+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25507 if test "$cross_compiling" = yes; then :
25508 if test x$gcc_no_link = xyes; then
25509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25513 __thread int a; int b; int main() { return a = b; }
25515 if ac_fn_c_try_link "$LINENO"; then :
25516 chktls_save_LDFLAGS="$LDFLAGS"
25519 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25522 chktls_save_CFLAGS="$CFLAGS"
25523 CFLAGS="-fPIC $CFLAGS"
25524 if test x$gcc_no_link = xyes; then
25525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h. */
25529 int f() { return 0; }
25531 if ac_fn_c_try_link "$LINENO"; then :
25532 if test x$gcc_no_link = xyes; then
25533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25536 /* end confdefs.h. */
25537 __thread int a; int b; int f() { return a = b; }
25539 if ac_fn_c_try_link "$LINENO"; then :
25540 gcc_cv_have_tls=yes
25544 rm -f core conftest.err conftest.$ac_objext \
25545 conftest$ac_exeext conftest.$ac_ext
25547 gcc_cv_have_tls=yes
25549 rm -f core conftest.err conftest.$ac_objext \
25550 conftest$ac_exeext conftest.$ac_ext
25551 CFLAGS="$chktls_save_CFLAGS"
25552 LDFLAGS="$chktls_save_LDFLAGS"
25556 rm -f core conftest.err conftest.$ac_objext \
25557 conftest$ac_exeext conftest.$ac_ext
25561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25562 /* end confdefs.h. */
25563 __thread int a; int b; int main() { return a = b; }
25565 if ac_fn_c_try_run "$LINENO"; then :
25566 chktls_save_LDFLAGS="$LDFLAGS"
25567 LDFLAGS="-static $LDFLAGS"
25568 if test x$gcc_no_link = xyes; then
25569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25572 /* end confdefs.h. */
25573 int main() { return 0; }
25575 if ac_fn_c_try_link "$LINENO"; then :
25576 if test "$cross_compiling" = yes; then :
25577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25579 as_fn_error "cannot run test program while cross compiling
25580 See \`config.log' for more details." "$LINENO" 5; }
25582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25583 /* end confdefs.h. */
25584 __thread int a; int b; int main() { return a = b; }
25586 if ac_fn_c_try_run "$LINENO"; then :
25587 gcc_cv_have_tls=yes
25591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25592 conftest.$ac_objext conftest.beam conftest.$ac_ext
25596 gcc_cv_have_tls=yes
25598 rm -f core conftest.err conftest.$ac_objext \
25599 conftest$ac_exeext conftest.$ac_ext
25600 LDFLAGS="$chktls_save_LDFLAGS"
25601 if test $gcc_cv_have_tls = yes; then
25602 chktls_save_CFLAGS="$CFLAGS"
25603 thread_CFLAGS=failed
25604 for flag in '' '-pthread' '-lpthread'; do
25605 CFLAGS="$flag $chktls_save_CFLAGS"
25606 if test x$gcc_no_link = xyes; then
25607 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25610 /* end confdefs.h. */
25611 #include <pthread.h>
25612 void *g(void *d) { return NULL; }
25616 pthread_t t; pthread_create(&t,NULL,g,NULL);
25621 if ac_fn_c_try_link "$LINENO"; then :
25622 thread_CFLAGS="$flag"
25624 rm -f core conftest.err conftest.$ac_objext \
25625 conftest$ac_exeext conftest.$ac_ext
25626 if test "X$thread_CFLAGS" != Xfailed; then
25630 CFLAGS="$chktls_save_CFLAGS"
25631 if test "X$thread_CFLAGS" != Xfailed; then
25632 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25633 if test "$cross_compiling" = yes; then :
25634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25636 as_fn_error "cannot run test program while cross compiling
25637 See \`config.log' for more details." "$LINENO" 5; }
25639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25640 /* end confdefs.h. */
25641 #include <pthread.h>
25643 static int *volatile a_in_other_thread;
25645 thread_func (void *arg)
25647 a_in_other_thread = &a;
25654 void *thread_retval;
25655 int *volatile a_in_main_thread;
25656 a_in_main_thread = &a;
25657 if (pthread_create (&thread, (pthread_attr_t *)0,
25658 thread_func, (void *)0))
25660 if (pthread_join (thread, &thread_retval))
25662 return (a_in_other_thread == a_in_main_thread);
25667 if ac_fn_c_try_run "$LINENO"; then :
25668 gcc_cv_have_tls=yes
25672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25673 conftest.$ac_objext conftest.beam conftest.$ac_ext
25676 CFLAGS="$chktls_save_CFLAGS"
25682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25683 conftest.$ac_objext conftest.beam conftest.$ac_ext
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25688 $as_echo "$gcc_cv_have_tls" >&6; }
25689 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25691 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25695 # For iconv support.
25697 if test "X$prefix" = "XNONE"; then
25698 acl_final_prefix="$ac_default_prefix"
25700 acl_final_prefix="$prefix"
25702 if test "X$exec_prefix" = "XNONE"; then
25703 acl_final_exec_prefix='${prefix}'
25705 acl_final_exec_prefix="$exec_prefix"
25707 acl_save_prefix="$prefix"
25708 prefix="$acl_final_prefix"
25709 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25710 prefix="$acl_save_prefix"
25713 # Check whether --with-gnu-ld was given.
25714 if test "${with_gnu_ld+set}" = set; then :
25715 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25720 # Prepare PATH_SEPARATOR.
25721 # The user is always right.
25722 if test "${PATH_SEPARATOR+set}" != set; then
25723 echo "#! /bin/sh" >conf$$.sh
25724 echo "exit 0" >>conf$$.sh
25726 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25734 if test "$GCC" = yes; then
25735 # Check if gcc -print-prog-name=ld gives a path.
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25737 $as_echo_n "checking for ld used by GCC... " >&6; }
25740 # gcc leaves a trailing carriage return which upsets mingw
25741 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25743 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25746 # Accept absolute paths.
25747 [\\/]* | [A-Za-z]:[\\/]*)
25748 re_direlt='/[^/][^/]*/\.\./'
25749 # Canonicalize the path of ld
25750 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25751 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25752 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25754 test -z "$LD" && LD="$ac_prog"
25757 # If it fails, then pretend we aren't using GCC.
25761 # If it is relative, then search for the first ld in PATH.
25762 with_gnu_ld=unknown
25765 elif test "$with_gnu_ld" = yes; then
25766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25767 $as_echo_n "checking for GNU ld... " >&6; }
25769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25770 $as_echo_n "checking for non-GNU ld... " >&6; }
25772 if test "${acl_cv_path_LD+set}" = set; then :
25773 $as_echo_n "(cached) " >&6
25775 if test -z "$LD"; then
25776 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25777 for ac_dir in $PATH; do
25778 test -z "$ac_dir" && ac_dir=.
25779 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25780 acl_cv_path_LD="$ac_dir/$ac_prog"
25781 # Check to see if the program is GNU ld. I'd rather use --version,
25782 # but apparently some GNU ld's only accept -v.
25783 # Break only if it was the GNU/non-GNU ld that we prefer.
25784 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25785 test "$with_gnu_ld" != no && break
25787 test "$with_gnu_ld" != yes && break
25793 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25797 LD="$acl_cv_path_LD"
25798 if test -n "$LD"; then
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25800 $as_echo "$LD" >&6; }
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25803 $as_echo "no" >&6; }
25805 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25807 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25808 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25809 $as_echo_n "(cached) " >&6
25811 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25812 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25813 acl_cv_prog_gnu_ld=yes
25815 acl_cv_prog_gnu_ld=no
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25819 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25820 with_gnu_ld=$acl_cv_prog_gnu_ld
25824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25825 $as_echo_n "checking for shared library run path origin... " >&6; }
25826 if test "${acl_cv_rpath+set}" = set; then :
25827 $as_echo_n "(cached) " >&6
25830 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25831 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25833 rm -f ./conftest.sh
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25838 $as_echo "$acl_cv_rpath" >&6; }
25840 libext="$acl_cv_libext"
25841 shlibext="$acl_cv_shlibext"
25842 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25843 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25844 hardcode_direct="$acl_cv_hardcode_direct"
25845 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25846 # Check whether --enable-rpath was given.
25847 if test "${enable_rpath+set}" = set; then :
25848 enableval=$enable_rpath; :
25862 acl_save_prefix="$prefix"
25863 prefix="$acl_final_prefix"
25864 acl_save_exec_prefix="$exec_prefix"
25865 exec_prefix="$acl_final_exec_prefix"
25867 eval additional_includedir=\"$includedir\"
25868 eval additional_libdir=\"$libdir\"
25870 exec_prefix="$acl_save_exec_prefix"
25871 prefix="$acl_save_prefix"
25874 # Check whether --with-libiconv-prefix was given.
25875 if test "${with_libiconv_prefix+set}" = set; then :
25876 withval=$with_libiconv_prefix;
25877 if test "X$withval" = "Xno"; then
25880 if test "X$withval" = "X"; then
25882 acl_save_prefix="$prefix"
25883 prefix="$acl_final_prefix"
25884 acl_save_exec_prefix="$exec_prefix"
25885 exec_prefix="$acl_final_exec_prefix"
25887 eval additional_includedir=\"$includedir\"
25888 eval additional_libdir=\"$libdir\"
25890 exec_prefix="$acl_save_exec_prefix"
25891 prefix="$acl_save_prefix"
25894 additional_includedir="$withval/include"
25895 additional_libdir="$withval/lib"
25906 names_already_handled=
25907 names_next_round='iconv '
25908 while test -n "$names_next_round"; do
25909 names_this_round="$names_next_round"
25911 for name in $names_this_round; do
25913 for n in $names_already_handled; do
25914 if test "$n" = "$name"; then
25915 already_handled=yes
25919 if test -z "$already_handled"; then
25920 names_already_handled="$names_already_handled $name"
25921 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25922 eval value=\"\$HAVE_LIB$uppername\"
25923 if test -n "$value"; then
25924 if test "$value" = yes; then
25925 eval value=\"\$LIB$uppername\"
25926 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25927 eval value=\"\$LTLIB$uppername\"
25928 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25937 if test $use_additional = yes; then
25938 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25939 found_dir="$additional_libdir"
25940 found_so="$additional_libdir/lib$name.$shlibext"
25941 if test -f "$additional_libdir/lib$name.la"; then
25942 found_la="$additional_libdir/lib$name.la"
25945 if test -f "$additional_libdir/lib$name.$libext"; then
25946 found_dir="$additional_libdir"
25947 found_a="$additional_libdir/lib$name.$libext"
25948 if test -f "$additional_libdir/lib$name.la"; then
25949 found_la="$additional_libdir/lib$name.la"
25954 if test "X$found_dir" = "X"; then
25955 for x in $LDFLAGS $LTLIBICONV; do
25957 acl_save_prefix="$prefix"
25958 prefix="$acl_final_prefix"
25959 acl_save_exec_prefix="$exec_prefix"
25960 exec_prefix="$acl_final_exec_prefix"
25962 exec_prefix="$acl_save_exec_prefix"
25963 prefix="$acl_save_prefix"
25967 dir=`echo "X$x" | sed -e 's/^X-L//'`
25968 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25970 found_so="$dir/lib$name.$shlibext"
25971 if test -f "$dir/lib$name.la"; then
25972 found_la="$dir/lib$name.la"
25975 if test -f "$dir/lib$name.$libext"; then
25977 found_a="$dir/lib$name.$libext"
25978 if test -f "$dir/lib$name.la"; then
25979 found_la="$dir/lib$name.la"
25985 if test "X$found_dir" != "X"; then
25990 if test "X$found_dir" != "X"; then
25991 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25992 if test "X$found_so" != "X"; then
25993 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25994 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25997 for x in $ltrpathdirs; do
25998 if test "X$x" = "X$found_dir"; then
26003 if test -z "$haveit"; then
26004 ltrpathdirs="$ltrpathdirs $found_dir"
26006 if test "$hardcode_direct" = yes; then
26007 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26009 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26010 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26012 for x in $rpathdirs; do
26013 if test "X$x" = "X$found_dir"; then
26018 if test -z "$haveit"; then
26019 rpathdirs="$rpathdirs $found_dir"
26023 for x in $LDFLAGS $LIBICONV; do
26025 acl_save_prefix="$prefix"
26026 prefix="$acl_final_prefix"
26027 acl_save_exec_prefix="$exec_prefix"
26028 exec_prefix="$acl_final_exec_prefix"
26030 exec_prefix="$acl_save_exec_prefix"
26031 prefix="$acl_save_prefix"
26033 if test "X$x" = "X-L$found_dir"; then
26038 if test -z "$haveit"; then
26039 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26041 if test "$hardcode_minus_L" != no; then
26042 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26044 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26050 if test "X$found_a" != "X"; then
26051 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26053 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26056 additional_includedir=
26057 case "$found_dir" in
26059 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26060 additional_includedir="$basedir/include"
26063 if test "X$additional_includedir" != "X"; then
26064 if test "X$additional_includedir" != "X/usr/include"; then
26066 if test "X$additional_includedir" = "X/usr/local/include"; then
26067 if test -n "$GCC"; then
26069 linux*) haveit=yes;;
26073 if test -z "$haveit"; then
26074 for x in $CPPFLAGS $INCICONV; do
26076 acl_save_prefix="$prefix"
26077 prefix="$acl_final_prefix"
26078 acl_save_exec_prefix="$exec_prefix"
26079 exec_prefix="$acl_final_exec_prefix"
26081 exec_prefix="$acl_save_exec_prefix"
26082 prefix="$acl_save_prefix"
26084 if test "X$x" = "X-I$additional_includedir"; then
26089 if test -z "$haveit"; then
26090 if test -d "$additional_includedir"; then
26091 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26097 if test -n "$found_la"; then
26098 save_libdir="$libdir"
26099 case "$found_la" in
26100 */* | *\\*) . "$found_la" ;;
26101 *) . "./$found_la" ;;
26103 libdir="$save_libdir"
26104 for dep in $dependency_libs; do
26107 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26108 if test "X$additional_libdir" != "X/usr/lib"; then
26110 if test "X$additional_libdir" = "X/usr/local/lib"; then
26111 if test -n "$GCC"; then
26113 linux*) haveit=yes;;
26117 if test -z "$haveit"; then
26119 for x in $LDFLAGS $LIBICONV; do
26121 acl_save_prefix="$prefix"
26122 prefix="$acl_final_prefix"
26123 acl_save_exec_prefix="$exec_prefix"
26124 exec_prefix="$acl_final_exec_prefix"
26126 exec_prefix="$acl_save_exec_prefix"
26127 prefix="$acl_save_prefix"
26129 if test "X$x" = "X-L$additional_libdir"; then
26134 if test -z "$haveit"; then
26135 if test -d "$additional_libdir"; then
26136 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26140 for x in $LDFLAGS $LTLIBICONV; do
26142 acl_save_prefix="$prefix"
26143 prefix="$acl_final_prefix"
26144 acl_save_exec_prefix="$exec_prefix"
26145 exec_prefix="$acl_final_exec_prefix"
26147 exec_prefix="$acl_save_exec_prefix"
26148 prefix="$acl_save_prefix"
26150 if test "X$x" = "X-L$additional_libdir"; then
26155 if test -z "$haveit"; then
26156 if test -d "$additional_libdir"; then
26157 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26164 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26165 if test "$enable_rpath" != no; then
26167 for x in $rpathdirs; do
26168 if test "X$x" = "X$dir"; then
26173 if test -z "$haveit"; then
26174 rpathdirs="$rpathdirs $dir"
26177 for x in $ltrpathdirs; do
26178 if test "X$x" = "X$dir"; then
26183 if test -z "$haveit"; then
26184 ltrpathdirs="$ltrpathdirs $dir"
26189 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26192 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26195 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26196 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26202 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26203 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26209 if test "X$rpathdirs" != "X"; then
26210 if test -n "$hardcode_libdir_separator"; then
26212 for found_dir in $rpathdirs; do
26213 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26215 acl_save_libdir="$libdir"
26217 eval flag=\"$hardcode_libdir_flag_spec\"
26218 libdir="$acl_save_libdir"
26219 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26221 for found_dir in $rpathdirs; do
26222 acl_save_libdir="$libdir"
26223 libdir="$found_dir"
26224 eval flag=\"$hardcode_libdir_flag_spec\"
26225 libdir="$acl_save_libdir"
26226 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26230 if test "X$ltrpathdirs" != "X"; then
26231 for found_dir in $ltrpathdirs; do
26232 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26242 am_save_CPPFLAGS="$CPPFLAGS"
26244 for element in $INCICONV; do
26246 for x in $CPPFLAGS; do
26248 acl_save_prefix="$prefix"
26249 prefix="$acl_final_prefix"
26250 acl_save_exec_prefix="$exec_prefix"
26251 exec_prefix="$acl_final_exec_prefix"
26253 exec_prefix="$acl_save_exec_prefix"
26254 prefix="$acl_save_prefix"
26256 if test "X$x" = "X$element"; then
26261 if test -z "$haveit"; then
26262 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26268 $as_echo_n "checking for iconv... " >&6; }
26269 if test "${am_cv_func_iconv+set}" = set; then :
26270 $as_echo_n "(cached) " >&6
26273 am_cv_func_iconv="no, consider installing GNU libiconv"
26275 if test x$gcc_no_link = xyes; then
26276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26279 /* end confdefs.h. */
26280 #include <stdlib.h>
26285 iconv_t cd = iconv_open("","");
26286 iconv(cd,NULL,NULL,NULL,NULL);
26292 if ac_fn_c_try_link "$LINENO"; then :
26293 am_cv_func_iconv=yes
26295 rm -f core conftest.err conftest.$ac_objext \
26296 conftest$ac_exeext conftest.$ac_ext
26297 if test "$am_cv_func_iconv" != yes; then
26298 am_save_LIBS="$LIBS"
26299 LIBS="$LIBS $LIBICONV"
26300 if test x$gcc_no_link = xyes; then
26301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h. */
26305 #include <stdlib.h>
26310 iconv_t cd = iconv_open("","");
26311 iconv(cd,NULL,NULL,NULL,NULL);
26317 if ac_fn_c_try_link "$LINENO"; then :
26318 am_cv_lib_iconv=yes
26319 am_cv_func_iconv=yes
26321 rm -f core conftest.err conftest.$ac_objext \
26322 conftest$ac_exeext conftest.$ac_ext
26323 LIBS="$am_save_LIBS"
26327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26328 $as_echo "$am_cv_func_iconv" >&6; }
26329 if test "$am_cv_func_iconv" = yes; then
26331 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26334 if test "$am_cv_lib_iconv" = yes; then
26335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26336 $as_echo_n "checking how to link with libiconv... " >&6; }
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26338 $as_echo "$LIBICONV" >&6; }
26340 CPPFLAGS="$am_save_CPPFLAGS"
26347 if test "$am_cv_func_iconv" = yes; then
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26349 $as_echo_n "checking for iconv declaration... " >&6; }
26350 if test "${am_cv_proto_iconv+set}" = set; then :
26351 $as_echo_n "(cached) " >&6
26354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26355 /* end confdefs.h. */
26357 #include <stdlib.h>
26363 #if defined(__STDC__) || defined(__cplusplus)
26364 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26377 if ac_fn_c_try_compile "$LINENO"; then :
26378 am_cv_proto_iconv_arg1=""
26380 am_cv_proto_iconv_arg1="const"
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
26386 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26388 }$am_cv_proto_iconv" >&5
26390 }$am_cv_proto_iconv" >&6; }
26392 cat >>confdefs.h <<_ACEOF
26393 #define ICONV_CONST $am_cv_proto_iconv_arg1
26401 # This lets us hard-code the functionality we know we'll have in the cross
26402 # target environment. "Let" is a sugar-coated word placed on an especially
26403 # dull and tedious hack, actually.
26405 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26406 # that involve linking, can't be used:
26407 # "cannot open sim-crt0.o"
26408 # "cannot open crt0.o"
26409 # etc. All this is because there currently exists no unified, consistent
26410 # way for top level CC information to be passed down to target directories:
26411 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26412 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26413 # crosses can be removed.
26415 # If Canadian cross, then don't pick up tools from the build directory.
26416 # Used only in GLIBCXX_EXPORT_INCLUDES.
26417 if test -n "$with_cross_host" &&
26418 test x"$build_alias" != x"$with_cross_host" &&
26419 test x"$build" != x"$target";
26426 # Construct crosses by hand, eliminating bits that need ld...
26427 # GLIBCXX_CHECK_MATH_SUPPORT
26429 # First, test for "known" system libraries. We may be using newlib even
26430 # on a hosted environment.
26431 if test "x${with_newlib}" = "xyes"; then
26432 os_include_dir="os/newlib"
26433 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26436 # GLIBCXX_CHECK_STDLIB_SUPPORT
26437 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26440 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26442 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26444 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26446 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26448 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26450 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26452 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26454 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26456 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26458 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26460 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26462 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26464 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26466 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26468 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26470 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26472 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26474 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26476 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26478 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26480 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26482 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26485 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26489 # Base decisions on target environment.
26491 arm*-*-symbianelf*)
26492 # This is a freestanding configuration; there is nothing to do here.
26496 # These definitions are for the SDE C library rather than newlib.
26497 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26500 # All these tests are for C++; save the language and the compiler flags.
26501 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26502 # found in GLIBCXX_CONFIGURE.
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26511 ac_save_CXXFLAGS="$CXXFLAGS"
26513 # Check for maintainer-mode bits.
26514 if test x"$USE_MAINTAINER_MODE" = xno; then
26520 # Check for -ffunction-sections -fdata-sections
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26522 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26523 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26525 /* end confdefs.h. */
26526 int foo; void bar() { };
26535 if ac_fn_cxx_try_compile "$LINENO"; then :
26540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26541 if test "$ac_test_CXXFLAGS" = set; then
26542 CXXFLAGS="$ac_save_CXXFLAGS"
26544 # this is the suspicious part
26547 if test x"$ac_fdsections" = x"yes"; then
26548 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26551 $as_echo "$ac_fdsections" >&6; }
26554 ac_cpp='$CPP $CPPFLAGS'
26555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26563 # If we're not using GNU ld, then there's no point in even trying these
26564 # tests. Check for that first. We should have already tested for gld
26565 # by now (in libtool), but require it now just to be safe...
26566 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26567 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26571 # The name set by libtool depends on the version of libtool. Shame on us
26572 # for depending on an impl detail, but c'est la vie. Older versions used
26573 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26574 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26575 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26576 # set (hence we're using an older libtool), then set it.
26577 if test x${with_gnu_ld+set} != xset; then
26578 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26579 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26582 with_gnu_ld=$ac_cv_prog_gnu_ld
26586 # Start by getting the version number. I think the libtool test already
26587 # does some of this, but throws away the result.
26588 glibcxx_ld_is_gold=no
26589 if test x"$with_gnu_ld" = x"yes"; then
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26591 $as_echo_n "checking for ld version... " >&6; }
26593 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26594 glibcxx_ld_is_gold=yes
26596 ldver=`$LD --version 2>/dev/null |
26597 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
26599 glibcxx_gnu_ld_version=`echo $ldver | \
26600 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26602 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26605 # Set --gc-sections.
26606 glibcxx_have_gc_sections=no
26607 if test "$glibcxx_ld_is_gold" = "yes"; then
26608 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26609 glibcxx_have_gc_sections=yes
26612 glibcxx_gcsections_min_ld=21602
26613 if test x"$with_gnu_ld" = x"yes" &&
26614 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26615 glibcxx_have_gc_sections=yes
26618 if test "$glibcxx_have_gc_sections" = "yes"; then
26619 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26620 # NB: This flag only works reliably after 2.16.1. Configure tests
26621 # for this are difficult, so hard wire a value that should work.
26623 ac_test_CFLAGS="${CFLAGS+set}"
26624 ac_save_CFLAGS="$CFLAGS"
26625 CFLAGS='-Wl,--gc-sections'
26627 # Check for -Wl,--gc-sections
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26629 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26630 if test x$gcc_no_link = xyes; then
26631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26634 /* end confdefs.h. */
26635 int one(void) { return 1; }
26636 int two(void) { return 2; }
26646 if ac_fn_c_try_link "$LINENO"; then :
26651 rm -f core conftest.err conftest.$ac_objext \
26652 conftest$ac_exeext conftest.$ac_ext
26653 if test "$ac_gcsections" = "yes"; then
26656 if $CC -c conftest.c; then
26657 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26658 grep "Warning: gc-sections option ignored" > /dev/null; then
26662 rm -f conftest.c conftest.o conftest
26664 if test "$ac_gcsections" = "yes"; then
26665 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26668 $as_echo "$ac_gcsections" >&6; }
26670 if test "$ac_test_CFLAGS" = set; then
26671 CFLAGS="$ac_save_CFLAGS"
26673 # this is the suspicious part
26679 # Note this is only for shared objects.
26681 if test x"$with_gnu_ld" = x"yes"; then
26682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26683 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26684 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26685 if test -n "$cxx_z_relo"; then
26686 OPT_LDFLAGS="-Wl,-z,relro"
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26690 $as_echo "$ac_ld_relro" >&6; }
26693 # Set linker optimization flags.
26694 if test x"$with_gnu_ld" = x"yes"; then
26695 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26702 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26703 ac_save_CXXFLAGS="$CXXFLAGS"
26704 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26707 $as_echo_n "checking for sin in -lm... " >&6; }
26708 if test "${ac_cv_lib_m_sin+set}" = set; then :
26709 $as_echo_n "(cached) " >&6
26711 ac_check_lib_save_LIBS=$LIBS
26713 if test x$gcc_no_link = xyes; then
26714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26717 /* end confdefs.h. */
26719 /* Override any GCC internal prototype to avoid an error.
26720 Use char because int might match the return type of a GCC
26721 builtin and then its argument prototype would still apply. */
26734 if ac_fn_c_try_link "$LINENO"; then :
26735 ac_cv_lib_m_sin=yes
26739 rm -f core conftest.err conftest.$ac_objext \
26740 conftest$ac_exeext conftest.$ac_ext
26741 LIBS=$ac_check_lib_save_LIBS
26743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26744 $as_echo "$ac_cv_lib_m_sin" >&6; }
26745 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26749 ac_save_LIBS="$LIBS"
26754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26755 $as_echo_n "checking for isinf declaration... " >&6; }
26756 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26757 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26758 $as_echo_n "(cached) " >&6
26763 ac_cpp='$CXXCPP $CPPFLAGS'
26764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26769 /* end confdefs.h. */
26771 #ifdef HAVE_IEEEFP_H
26772 #include <ieeefp.h>
26783 if ac_fn_cxx_try_compile "$LINENO"; then :
26784 glibcxx_cv_func_isinf_use=yes
26786 glibcxx_cv_func_isinf_use=no
26788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26790 ac_cpp='$CPP $CPPFLAGS'
26791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26800 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26802 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26803 for ac_func in isinf
26805 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26806 if test "x$ac_cv_func_isinf" = x""yes; then :
26807 cat >>confdefs.h <<_ACEOF
26808 #define HAVE_ISINF 1
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26817 $as_echo_n "checking for _isinf declaration... " >&6; }
26818 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26819 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26820 $as_echo_n "(cached) " >&6
26825 ac_cpp='$CXXCPP $CPPFLAGS'
26826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26831 /* end confdefs.h. */
26833 #ifdef HAVE_IEEEFP_H
26834 #include <ieeefp.h>
26845 if ac_fn_cxx_try_compile "$LINENO"; then :
26846 glibcxx_cv_func__isinf_use=yes
26848 glibcxx_cv_func__isinf_use=no
26850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26862 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26864 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26865 for ac_func in _isinf
26867 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26868 if test "x$ac_cv_func__isinf" = x""yes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE__ISINF 1
26883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26884 $as_echo_n "checking for isnan declaration... " >&6; }
26885 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26886 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26887 $as_echo_n "(cached) " >&6
26892 ac_cpp='$CXXCPP $CPPFLAGS'
26893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26898 /* end confdefs.h. */
26900 #ifdef HAVE_IEEEFP_H
26901 #include <ieeefp.h>
26912 if ac_fn_cxx_try_compile "$LINENO"; then :
26913 glibcxx_cv_func_isnan_use=yes
26915 glibcxx_cv_func_isnan_use=no
26917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 ac_cpp='$CPP $CPPFLAGS'
26920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26929 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26931 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26932 for ac_func in isnan
26934 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26935 if test "x$ac_cv_func_isnan" = x""yes; then :
26936 cat >>confdefs.h <<_ACEOF
26937 #define HAVE_ISNAN 1
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26946 $as_echo_n "checking for _isnan declaration... " >&6; }
26947 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26948 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26949 $as_echo_n "(cached) " >&6
26954 ac_cpp='$CXXCPP $CPPFLAGS'
26955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h. */
26962 #ifdef HAVE_IEEEFP_H
26963 #include <ieeefp.h>
26974 if ac_fn_cxx_try_compile "$LINENO"; then :
26975 glibcxx_cv_func__isnan_use=yes
26977 glibcxx_cv_func__isnan_use=no
26979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26981 ac_cpp='$CPP $CPPFLAGS'
26982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26991 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26993 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26994 for ac_func in _isnan
26996 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26997 if test "x$ac_cv_func__isnan" = x""yes; then :
26998 cat >>confdefs.h <<_ACEOF
26999 #define HAVE__ISNAN 1
27012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27013 $as_echo_n "checking for finite declaration... " >&6; }
27014 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27015 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27016 $as_echo_n "(cached) " >&6
27021 ac_cpp='$CXXCPP $CPPFLAGS'
27022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27027 /* end confdefs.h. */
27029 #ifdef HAVE_IEEEFP_H
27030 #include <ieeefp.h>
27041 if ac_fn_cxx_try_compile "$LINENO"; then :
27042 glibcxx_cv_func_finite_use=yes
27044 glibcxx_cv_func_finite_use=no
27046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27048 ac_cpp='$CPP $CPPFLAGS'
27049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27058 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27060 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27061 for ac_func in finite
27063 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27064 if test "x$ac_cv_func_finite" = x""yes; then :
27065 cat >>confdefs.h <<_ACEOF
27066 #define HAVE_FINITE 1
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27075 $as_echo_n "checking for _finite declaration... " >&6; }
27076 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27077 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27078 $as_echo_n "(cached) " >&6
27083 ac_cpp='$CXXCPP $CPPFLAGS'
27084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27089 /* end confdefs.h. */
27091 #ifdef HAVE_IEEEFP_H
27092 #include <ieeefp.h>
27103 if ac_fn_cxx_try_compile "$LINENO"; then :
27104 glibcxx_cv_func__finite_use=yes
27106 glibcxx_cv_func__finite_use=no
27108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27110 ac_cpp='$CPP $CPPFLAGS'
27111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27120 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27122 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27123 for ac_func in _finite
27125 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27126 if test "x$ac_cv_func__finite" = x""yes; then :
27127 cat >>confdefs.h <<_ACEOF
27128 #define HAVE__FINITE 1
27141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27142 $as_echo_n "checking for sincos declaration... " >&6; }
27143 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27144 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27145 $as_echo_n "(cached) " >&6
27150 ac_cpp='$CXXCPP $CPPFLAGS'
27151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27156 /* end confdefs.h. */
27166 if ac_fn_cxx_try_compile "$LINENO"; then :
27167 glibcxx_cv_func_sincos_use=yes
27169 glibcxx_cv_func_sincos_use=no
27171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27173 ac_cpp='$CPP $CPPFLAGS'
27174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27183 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27185 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27186 for ac_func in sincos
27188 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27189 if test "x$ac_cv_func_sincos" = x""yes; then :
27190 cat >>confdefs.h <<_ACEOF
27191 #define HAVE_SINCOS 1
27199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27200 $as_echo_n "checking for _sincos declaration... " >&6; }
27201 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27202 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27203 $as_echo_n "(cached) " >&6
27208 ac_cpp='$CXXCPP $CPPFLAGS'
27209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27214 /* end confdefs.h. */
27224 if ac_fn_cxx_try_compile "$LINENO"; then :
27225 glibcxx_cv_func__sincos_use=yes
27227 glibcxx_cv_func__sincos_use=no
27229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27231 ac_cpp='$CPP $CPPFLAGS'
27232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27241 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27243 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27244 for ac_func in _sincos
27246 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27247 if test "x$ac_cv_func__sincos" = x""yes; then :
27248 cat >>confdefs.h <<_ACEOF
27249 #define HAVE__SINCOS 1
27262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27263 $as_echo_n "checking for fpclass declaration... " >&6; }
27264 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27265 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27266 $as_echo_n "(cached) " >&6
27271 ac_cpp='$CXXCPP $CPPFLAGS'
27272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27277 /* end confdefs.h. */
27279 #ifdef HAVE_IEEEFP_H
27280 #include <ieeefp.h>
27291 if ac_fn_cxx_try_compile "$LINENO"; then :
27292 glibcxx_cv_func_fpclass_use=yes
27294 glibcxx_cv_func_fpclass_use=no
27296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27298 ac_cpp='$CPP $CPPFLAGS'
27299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27308 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27310 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27311 for ac_func in fpclass
27313 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27314 if test "x$ac_cv_func_fpclass" = x""yes; then :
27315 cat >>confdefs.h <<_ACEOF
27316 #define HAVE_FPCLASS 1
27324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27325 $as_echo_n "checking for _fpclass declaration... " >&6; }
27326 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27327 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27328 $as_echo_n "(cached) " >&6
27333 ac_cpp='$CXXCPP $CPPFLAGS'
27334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27339 /* end confdefs.h. */
27341 #ifdef HAVE_IEEEFP_H
27342 #include <ieeefp.h>
27353 if ac_fn_cxx_try_compile "$LINENO"; then :
27354 glibcxx_cv_func__fpclass_use=yes
27356 glibcxx_cv_func__fpclass_use=no
27358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27360 ac_cpp='$CPP $CPPFLAGS'
27361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27370 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27372 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27373 for ac_func in _fpclass
27375 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27376 if test "x$ac_cv_func__fpclass" = x""yes; then :
27377 cat >>confdefs.h <<_ACEOF
27378 #define HAVE__FPCLASS 1
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27392 $as_echo_n "checking for qfpclass declaration... " >&6; }
27393 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27394 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27395 $as_echo_n "(cached) " >&6
27400 ac_cpp='$CXXCPP $CPPFLAGS'
27401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27406 /* end confdefs.h. */
27408 #ifdef HAVE_IEEEFP_H
27409 #include <ieeefp.h>
27420 if ac_fn_cxx_try_compile "$LINENO"; then :
27421 glibcxx_cv_func_qfpclass_use=yes
27423 glibcxx_cv_func_qfpclass_use=no
27425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27427 ac_cpp='$CPP $CPPFLAGS'
27428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27437 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27439 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27440 for ac_func in qfpclass
27442 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27443 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27444 cat >>confdefs.h <<_ACEOF
27445 #define HAVE_QFPCLASS 1
27453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27454 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27455 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27456 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27457 $as_echo_n "(cached) " >&6
27462 ac_cpp='$CXXCPP $CPPFLAGS'
27463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27468 /* end confdefs.h. */
27470 #ifdef HAVE_IEEEFP_H
27471 #include <ieeefp.h>
27482 if ac_fn_cxx_try_compile "$LINENO"; then :
27483 glibcxx_cv_func__qfpclass_use=yes
27485 glibcxx_cv_func__qfpclass_use=no
27487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27489 ac_cpp='$CPP $CPPFLAGS'
27490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27499 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27501 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27502 for ac_func in _qfpclass
27504 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27505 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27506 cat >>confdefs.h <<_ACEOF
27507 #define HAVE__QFPCLASS 1
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27521 $as_echo_n "checking for hypot declaration... " >&6; }
27522 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27523 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27524 $as_echo_n "(cached) " >&6
27529 ac_cpp='$CXXCPP $CPPFLAGS'
27530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27535 /* end confdefs.h. */
27545 if ac_fn_cxx_try_compile "$LINENO"; then :
27546 glibcxx_cv_func_hypot_use=yes
27548 glibcxx_cv_func_hypot_use=no
27550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27552 ac_cpp='$CPP $CPPFLAGS'
27553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27562 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27564 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27565 for ac_func in hypot
27567 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27568 if test "x$ac_cv_func_hypot" = x""yes; then :
27569 cat >>confdefs.h <<_ACEOF
27570 #define HAVE_HYPOT 1
27578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27579 $as_echo_n "checking for _hypot declaration... " >&6; }
27580 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27581 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27582 $as_echo_n "(cached) " >&6
27587 ac_cpp='$CXXCPP $CPPFLAGS'
27588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27593 /* end confdefs.h. */
27603 if ac_fn_cxx_try_compile "$LINENO"; then :
27604 glibcxx_cv_func__hypot_use=yes
27606 glibcxx_cv_func__hypot_use=no
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27610 ac_cpp='$CPP $CPPFLAGS'
27611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27620 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27622 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27623 for ac_func in _hypot
27625 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27626 if test "x$ac_cv_func__hypot" = x""yes; then :
27627 cat >>confdefs.h <<_ACEOF
27628 #define HAVE__HYPOT 1
27641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27642 $as_echo_n "checking for float trig functions... " >&6; }
27643 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27644 $as_echo_n "(cached) " >&6
27649 ac_cpp='$CXXCPP $CPPFLAGS'
27650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27655 /* end confdefs.h. */
27660 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27665 if ac_fn_cxx_try_compile "$LINENO"; then :
27666 glibcxx_cv_func_float_trig_use=yes
27668 glibcxx_cv_func_float_trig_use=no
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27672 ac_cpp='$CPP $CPPFLAGS'
27673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27680 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27681 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27682 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27686 eval as_val=\$$as_ac_var
27687 if test "x$as_val" = x""yes; then :
27688 cat >>confdefs.h <<_ACEOF
27689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27697 $as_echo_n "checking for _float trig functions... " >&6; }
27698 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27699 $as_echo_n "(cached) " >&6
27704 ac_cpp='$CXXCPP $CPPFLAGS'
27705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27710 /* end confdefs.h. */
27715 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27720 if ac_fn_cxx_try_compile "$LINENO"; then :
27721 glibcxx_cv_func__float_trig_use=yes
27723 glibcxx_cv_func__float_trig_use=no
27725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27727 ac_cpp='$CPP $CPPFLAGS'
27728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27735 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27736 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27737 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27741 eval as_val=\$$as_ac_var
27742 if test "x$as_val" = x""yes; then :
27743 cat >>confdefs.h <<_ACEOF
27744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27758 $as_echo_n "checking for float round functions... " >&6; }
27759 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27760 $as_echo_n "(cached) " >&6
27765 ac_cpp='$CXXCPP $CPPFLAGS'
27766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27771 /* end confdefs.h. */
27776 ceilf (0); floorf (0);
27781 if ac_fn_cxx_try_compile "$LINENO"; then :
27782 glibcxx_cv_func_float_round_use=yes
27784 glibcxx_cv_func_float_round_use=no
27786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27788 ac_cpp='$CPP $CPPFLAGS'
27789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27796 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27797 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27798 for ac_func in ceilf floorf
27800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27802 eval as_val=\$$as_ac_var
27803 if test "x$as_val" = x""yes; then :
27804 cat >>confdefs.h <<_ACEOF
27805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27813 $as_echo_n "checking for _float round functions... " >&6; }
27814 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27815 $as_echo_n "(cached) " >&6
27820 ac_cpp='$CXXCPP $CPPFLAGS'
27821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27826 /* end confdefs.h. */
27831 _ceilf (0); _floorf (0);
27836 if ac_fn_cxx_try_compile "$LINENO"; then :
27837 glibcxx_cv_func__float_round_use=yes
27839 glibcxx_cv_func__float_round_use=no
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27851 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27852 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27853 for ac_func in _ceilf _floorf
27855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27857 eval as_val=\$$as_ac_var
27858 if test "x$as_val" = x""yes; then :
27859 cat >>confdefs.h <<_ACEOF
27860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27875 $as_echo_n "checking for expf declaration... " >&6; }
27876 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27877 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27878 $as_echo_n "(cached) " >&6
27883 ac_cpp='$CXXCPP $CPPFLAGS'
27884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 /* end confdefs.h. */
27891 #ifdef HAVE_IEEEFP_H
27892 #include <ieeefp.h>
27903 if ac_fn_cxx_try_compile "$LINENO"; then :
27904 glibcxx_cv_func_expf_use=yes
27906 glibcxx_cv_func_expf_use=no
27908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27920 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27922 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27923 for ac_func in expf
27925 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27926 if test "x$ac_cv_func_expf" = x""yes; then :
27927 cat >>confdefs.h <<_ACEOF
27928 #define HAVE_EXPF 1
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27937 $as_echo_n "checking for _expf declaration... " >&6; }
27938 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27939 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27953 #ifdef HAVE_IEEEFP_H
27954 #include <ieeefp.h>
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966 glibcxx_cv_func__expf_use=yes
27968 glibcxx_cv_func__expf_use=no
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27982 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27984 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27985 for ac_func in _expf
27987 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27988 if test "x$ac_cv_func__expf" = x""yes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define HAVE__EXPF 1
28003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28004 $as_echo_n "checking for isnanf declaration... " >&6; }
28005 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28006 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28007 $as_echo_n "(cached) " >&6
28012 ac_cpp='$CXXCPP $CPPFLAGS'
28013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28018 /* end confdefs.h. */
28020 #ifdef HAVE_IEEEFP_H
28021 #include <ieeefp.h>
28032 if ac_fn_cxx_try_compile "$LINENO"; then :
28033 glibcxx_cv_func_isnanf_use=yes
28035 glibcxx_cv_func_isnanf_use=no
28037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28039 ac_cpp='$CPP $CPPFLAGS'
28040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28049 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28051 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28052 for ac_func in isnanf
28054 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28055 if test "x$ac_cv_func_isnanf" = x""yes; then :
28056 cat >>confdefs.h <<_ACEOF
28057 #define HAVE_ISNANF 1
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28066 $as_echo_n "checking for _isnanf declaration... " >&6; }
28067 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28068 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28069 $as_echo_n "(cached) " >&6
28074 ac_cpp='$CXXCPP $CPPFLAGS'
28075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28080 /* end confdefs.h. */
28082 #ifdef HAVE_IEEEFP_H
28083 #include <ieeefp.h>
28094 if ac_fn_cxx_try_compile "$LINENO"; then :
28095 glibcxx_cv_func__isnanf_use=yes
28097 glibcxx_cv_func__isnanf_use=no
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28101 ac_cpp='$CPP $CPPFLAGS'
28102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28111 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28113 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28114 for ac_func in _isnanf
28116 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28117 if test "x$ac_cv_func__isnanf" = x""yes; then :
28118 cat >>confdefs.h <<_ACEOF
28119 #define HAVE__ISNANF 1
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28133 $as_echo_n "checking for isinff declaration... " >&6; }
28134 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28135 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28136 $as_echo_n "(cached) " >&6
28141 ac_cpp='$CXXCPP $CPPFLAGS'
28142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28147 /* end confdefs.h. */
28149 #ifdef HAVE_IEEEFP_H
28150 #include <ieeefp.h>
28161 if ac_fn_cxx_try_compile "$LINENO"; then :
28162 glibcxx_cv_func_isinff_use=yes
28164 glibcxx_cv_func_isinff_use=no
28166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28168 ac_cpp='$CPP $CPPFLAGS'
28169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28178 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28180 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28181 for ac_func in isinff
28183 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28184 if test "x$ac_cv_func_isinff" = x""yes; then :
28185 cat >>confdefs.h <<_ACEOF
28186 #define HAVE_ISINFF 1
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28195 $as_echo_n "checking for _isinff declaration... " >&6; }
28196 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28197 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28198 $as_echo_n "(cached) " >&6
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h. */
28211 #ifdef HAVE_IEEEFP_H
28212 #include <ieeefp.h>
28223 if ac_fn_cxx_try_compile "$LINENO"; then :
28224 glibcxx_cv_func__isinff_use=yes
28226 glibcxx_cv_func__isinff_use=no
28228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28230 ac_cpp='$CPP $CPPFLAGS'
28231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28240 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28242 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28243 for ac_func in _isinff
28245 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28246 if test "x$ac_cv_func__isinff" = x""yes; then :
28247 cat >>confdefs.h <<_ACEOF
28248 #define HAVE__ISINFF 1
28261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28262 $as_echo_n "checking for atan2f declaration... " >&6; }
28263 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28264 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28265 $as_echo_n "(cached) " >&6
28270 ac_cpp='$CXXCPP $CPPFLAGS'
28271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28276 /* end confdefs.h. */
28286 if ac_fn_cxx_try_compile "$LINENO"; then :
28287 glibcxx_cv_func_atan2f_use=yes
28289 glibcxx_cv_func_atan2f_use=no
28291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28293 ac_cpp='$CPP $CPPFLAGS'
28294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28303 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28305 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28306 for ac_func in atan2f
28308 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28309 if test "x$ac_cv_func_atan2f" = x""yes; then :
28310 cat >>confdefs.h <<_ACEOF
28311 #define HAVE_ATAN2F 1
28319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28320 $as_echo_n "checking for _atan2f declaration... " >&6; }
28321 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28322 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28323 $as_echo_n "(cached) " >&6
28328 ac_cpp='$CXXCPP $CPPFLAGS'
28329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28334 /* end confdefs.h. */
28344 if ac_fn_cxx_try_compile "$LINENO"; then :
28345 glibcxx_cv_func__atan2f_use=yes
28347 glibcxx_cv_func__atan2f_use=no
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28361 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28363 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28364 for ac_func in _atan2f
28366 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28367 if test "x$ac_cv_func__atan2f" = x""yes; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define HAVE__ATAN2F 1
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28383 $as_echo_n "checking for fabsf declaration... " >&6; }
28384 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28385 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28386 $as_echo_n "(cached) " >&6
28391 ac_cpp='$CXXCPP $CPPFLAGS'
28392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28399 #ifdef HAVE_IEEEFP_H
28400 #include <ieeefp.h>
28411 if ac_fn_cxx_try_compile "$LINENO"; then :
28412 glibcxx_cv_func_fabsf_use=yes
28414 glibcxx_cv_func_fabsf_use=no
28416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28418 ac_cpp='$CPP $CPPFLAGS'
28419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28428 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28430 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28431 for ac_func in fabsf
28433 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28434 if test "x$ac_cv_func_fabsf" = x""yes; then :
28435 cat >>confdefs.h <<_ACEOF
28436 #define HAVE_FABSF 1
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28445 $as_echo_n "checking for _fabsf declaration... " >&6; }
28446 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28447 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28448 $as_echo_n "(cached) " >&6
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h. */
28461 #ifdef HAVE_IEEEFP_H
28462 #include <ieeefp.h>
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474 glibcxx_cv_func__fabsf_use=yes
28476 glibcxx_cv_func__fabsf_use=no
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28490 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28492 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28493 for ac_func in _fabsf
28495 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28496 if test "x$ac_cv_func__fabsf" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define HAVE__FABSF 1
28511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28512 $as_echo_n "checking for fmodf declaration... " >&6; }
28513 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28514 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28515 $as_echo_n "(cached) " >&6
28520 ac_cpp='$CXXCPP $CPPFLAGS'
28521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28526 /* end confdefs.h. */
28536 if ac_fn_cxx_try_compile "$LINENO"; then :
28537 glibcxx_cv_func_fmodf_use=yes
28539 glibcxx_cv_func_fmodf_use=no
28541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28543 ac_cpp='$CPP $CPPFLAGS'
28544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28553 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28555 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28556 for ac_func in fmodf
28558 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28559 if test "x$ac_cv_func_fmodf" = x""yes; then :
28560 cat >>confdefs.h <<_ACEOF
28561 #define HAVE_FMODF 1
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28570 $as_echo_n "checking for _fmodf declaration... " >&6; }
28571 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28572 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28573 $as_echo_n "(cached) " >&6
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28584 /* end confdefs.h. */
28594 if ac_fn_cxx_try_compile "$LINENO"; then :
28595 glibcxx_cv_func__fmodf_use=yes
28597 glibcxx_cv_func__fmodf_use=no
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28601 ac_cpp='$CPP $CPPFLAGS'
28602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28611 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28613 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28614 for ac_func in _fmodf
28616 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28617 if test "x$ac_cv_func__fmodf" = x""yes; then :
28618 cat >>confdefs.h <<_ACEOF
28619 #define HAVE__FMODF 1
28632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28633 $as_echo_n "checking for frexpf declaration... " >&6; }
28634 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28635 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28636 $as_echo_n "(cached) " >&6
28641 ac_cpp='$CXXCPP $CPPFLAGS'
28642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28647 /* end confdefs.h. */
28657 if ac_fn_cxx_try_compile "$LINENO"; then :
28658 glibcxx_cv_func_frexpf_use=yes
28660 glibcxx_cv_func_frexpf_use=no
28662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28664 ac_cpp='$CPP $CPPFLAGS'
28665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28674 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28676 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28677 for ac_func in frexpf
28679 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28680 if test "x$ac_cv_func_frexpf" = x""yes; then :
28681 cat >>confdefs.h <<_ACEOF
28682 #define HAVE_FREXPF 1
28690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28691 $as_echo_n "checking for _frexpf declaration... " >&6; }
28692 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28693 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28694 $as_echo_n "(cached) " >&6
28699 ac_cpp='$CXXCPP $CPPFLAGS'
28700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28705 /* end confdefs.h. */
28715 if ac_fn_cxx_try_compile "$LINENO"; then :
28716 glibcxx_cv_func__frexpf_use=yes
28718 glibcxx_cv_func__frexpf_use=no
28720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28722 ac_cpp='$CPP $CPPFLAGS'
28723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28732 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28734 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28735 for ac_func in _frexpf
28737 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28738 if test "x$ac_cv_func__frexpf" = x""yes; then :
28739 cat >>confdefs.h <<_ACEOF
28740 #define HAVE__FREXPF 1
28753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28754 $as_echo_n "checking for hypotf declaration... " >&6; }
28755 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28756 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28757 $as_echo_n "(cached) " >&6
28762 ac_cpp='$CXXCPP $CPPFLAGS'
28763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28768 /* end confdefs.h. */
28778 if ac_fn_cxx_try_compile "$LINENO"; then :
28779 glibcxx_cv_func_hypotf_use=yes
28781 glibcxx_cv_func_hypotf_use=no
28783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28785 ac_cpp='$CPP $CPPFLAGS'
28786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28795 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28797 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28798 for ac_func in hypotf
28800 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28801 if test "x$ac_cv_func_hypotf" = x""yes; then :
28802 cat >>confdefs.h <<_ACEOF
28803 #define HAVE_HYPOTF 1
28811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28812 $as_echo_n "checking for _hypotf declaration... " >&6; }
28813 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28814 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28815 $as_echo_n "(cached) " >&6
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h. */
28836 if ac_fn_cxx_try_compile "$LINENO"; then :
28837 glibcxx_cv_func__hypotf_use=yes
28839 glibcxx_cv_func__hypotf_use=no
28841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28843 ac_cpp='$CPP $CPPFLAGS'
28844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28853 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28855 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28856 for ac_func in _hypotf
28858 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28859 if test "x$ac_cv_func__hypotf" = x""yes; then :
28860 cat >>confdefs.h <<_ACEOF
28861 #define HAVE__HYPOTF 1
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28875 $as_echo_n "checking for ldexpf declaration... " >&6; }
28876 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28877 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28878 $as_echo_n "(cached) " >&6
28883 ac_cpp='$CXXCPP $CPPFLAGS'
28884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28889 /* end confdefs.h. */
28899 if ac_fn_cxx_try_compile "$LINENO"; then :
28900 glibcxx_cv_func_ldexpf_use=yes
28902 glibcxx_cv_func_ldexpf_use=no
28904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28906 ac_cpp='$CPP $CPPFLAGS'
28907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28916 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28918 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28919 for ac_func in ldexpf
28921 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28922 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28923 cat >>confdefs.h <<_ACEOF
28924 #define HAVE_LDEXPF 1
28932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28933 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28934 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28935 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28936 $as_echo_n "(cached) " >&6
28941 ac_cpp='$CXXCPP $CPPFLAGS'
28942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28947 /* end confdefs.h. */
28957 if ac_fn_cxx_try_compile "$LINENO"; then :
28958 glibcxx_cv_func__ldexpf_use=yes
28960 glibcxx_cv_func__ldexpf_use=no
28962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28974 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28976 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28977 for ac_func in _ldexpf
28979 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28980 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28981 cat >>confdefs.h <<_ACEOF
28982 #define HAVE__LDEXPF 1
28995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28996 $as_echo_n "checking for logf declaration... " >&6; }
28997 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28998 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28999 $as_echo_n "(cached) " >&6
29004 ac_cpp='$CXXCPP $CPPFLAGS'
29005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010 /* end confdefs.h. */
29012 #ifdef HAVE_IEEEFP_H
29013 #include <ieeefp.h>
29024 if ac_fn_cxx_try_compile "$LINENO"; then :
29025 glibcxx_cv_func_logf_use=yes
29027 glibcxx_cv_func_logf_use=no
29029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29031 ac_cpp='$CPP $CPPFLAGS'
29032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29041 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29043 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29044 for ac_func in logf
29046 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29047 if test "x$ac_cv_func_logf" = x""yes; then :
29048 cat >>confdefs.h <<_ACEOF
29049 #define HAVE_LOGF 1
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29058 $as_echo_n "checking for _logf declaration... " >&6; }
29059 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29060 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29061 $as_echo_n "(cached) " >&6
29066 ac_cpp='$CXXCPP $CPPFLAGS'
29067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29072 /* end confdefs.h. */
29074 #ifdef HAVE_IEEEFP_H
29075 #include <ieeefp.h>
29086 if ac_fn_cxx_try_compile "$LINENO"; then :
29087 glibcxx_cv_func__logf_use=yes
29089 glibcxx_cv_func__logf_use=no
29091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29093 ac_cpp='$CPP $CPPFLAGS'
29094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29103 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29105 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29106 for ac_func in _logf
29108 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29109 if test "x$ac_cv_func__logf" = x""yes; then :
29110 cat >>confdefs.h <<_ACEOF
29111 #define HAVE__LOGF 1
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29125 $as_echo_n "checking for log10f declaration... " >&6; }
29126 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29127 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29128 $as_echo_n "(cached) " >&6
29133 ac_cpp='$CXXCPP $CPPFLAGS'
29134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29139 /* end confdefs.h. */
29141 #ifdef HAVE_IEEEFP_H
29142 #include <ieeefp.h>
29153 if ac_fn_cxx_try_compile "$LINENO"; then :
29154 glibcxx_cv_func_log10f_use=yes
29156 glibcxx_cv_func_log10f_use=no
29158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29170 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29172 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29173 for ac_func in log10f
29175 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29176 if test "x$ac_cv_func_log10f" = x""yes; then :
29177 cat >>confdefs.h <<_ACEOF
29178 #define HAVE_LOG10F 1
29186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29187 $as_echo_n "checking for _log10f declaration... " >&6; }
29188 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29189 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29190 $as_echo_n "(cached) " >&6
29195 ac_cpp='$CXXCPP $CPPFLAGS'
29196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29201 /* end confdefs.h. */
29203 #ifdef HAVE_IEEEFP_H
29204 #include <ieeefp.h>
29215 if ac_fn_cxx_try_compile "$LINENO"; then :
29216 glibcxx_cv_func__log10f_use=yes
29218 glibcxx_cv_func__log10f_use=no
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29222 ac_cpp='$CPP $CPPFLAGS'
29223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29232 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29234 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29235 for ac_func in _log10f
29237 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29238 if test "x$ac_cv_func__log10f" = x""yes; then :
29239 cat >>confdefs.h <<_ACEOF
29240 #define HAVE__LOG10F 1
29253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29254 $as_echo_n "checking for modff declaration... " >&6; }
29255 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29256 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29257 $as_echo_n "(cached) " >&6
29262 ac_cpp='$CXXCPP $CPPFLAGS'
29263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29268 /* end confdefs.h. */
29278 if ac_fn_cxx_try_compile "$LINENO"; then :
29279 glibcxx_cv_func_modff_use=yes
29281 glibcxx_cv_func_modff_use=no
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29285 ac_cpp='$CPP $CPPFLAGS'
29286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29295 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29297 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29298 for ac_func in modff
29300 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29301 if test "x$ac_cv_func_modff" = x""yes; then :
29302 cat >>confdefs.h <<_ACEOF
29303 #define HAVE_MODFF 1
29311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29312 $as_echo_n "checking for _modff declaration... " >&6; }
29313 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29314 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29315 $as_echo_n "(cached) " >&6
29320 ac_cpp='$CXXCPP $CPPFLAGS'
29321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29326 /* end confdefs.h. */
29336 if ac_fn_cxx_try_compile "$LINENO"; then :
29337 glibcxx_cv_func__modff_use=yes
29339 glibcxx_cv_func__modff_use=no
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29353 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29355 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29356 for ac_func in _modff
29358 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29359 if test "x$ac_cv_func__modff" = x""yes; then :
29360 cat >>confdefs.h <<_ACEOF
29361 #define HAVE__MODFF 1
29374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29375 $as_echo_n "checking for modf declaration... " >&6; }
29376 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29377 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29378 $as_echo_n "(cached) " >&6
29383 ac_cpp='$CXXCPP $CPPFLAGS'
29384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29389 /* end confdefs.h. */
29399 if ac_fn_cxx_try_compile "$LINENO"; then :
29400 glibcxx_cv_func_modf_use=yes
29402 glibcxx_cv_func_modf_use=no
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29406 ac_cpp='$CPP $CPPFLAGS'
29407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29416 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29418 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29419 for ac_func in modf
29421 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29422 if test "x$ac_cv_func_modf" = x""yes; then :
29423 cat >>confdefs.h <<_ACEOF
29424 #define HAVE_MODF 1
29432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29433 $as_echo_n "checking for _modf declaration... " >&6; }
29434 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29435 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29436 $as_echo_n "(cached) " >&6
29441 ac_cpp='$CXXCPP $CPPFLAGS'
29442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h. */
29457 if ac_fn_cxx_try_compile "$LINENO"; then :
29458 glibcxx_cv_func__modf_use=yes
29460 glibcxx_cv_func__modf_use=no
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29464 ac_cpp='$CPP $CPPFLAGS'
29465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29474 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29476 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29477 for ac_func in _modf
29479 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29480 if test "x$ac_cv_func__modf" = x""yes; then :
29481 cat >>confdefs.h <<_ACEOF
29482 #define HAVE__MODF 1
29495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29496 $as_echo_n "checking for powf declaration... " >&6; }
29497 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29498 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29499 $as_echo_n "(cached) " >&6
29504 ac_cpp='$CXXCPP $CPPFLAGS'
29505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29510 /* end confdefs.h. */
29520 if ac_fn_cxx_try_compile "$LINENO"; then :
29521 glibcxx_cv_func_powf_use=yes
29523 glibcxx_cv_func_powf_use=no
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29537 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29539 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29540 for ac_func in powf
29542 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29543 if test "x$ac_cv_func_powf" = x""yes; then :
29544 cat >>confdefs.h <<_ACEOF
29545 #define HAVE_POWF 1
29553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29554 $as_echo_n "checking for _powf declaration... " >&6; }
29555 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29556 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29557 $as_echo_n "(cached) " >&6
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h. */
29578 if ac_fn_cxx_try_compile "$LINENO"; then :
29579 glibcxx_cv_func__powf_use=yes
29581 glibcxx_cv_func__powf_use=no
29583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29585 ac_cpp='$CPP $CPPFLAGS'
29586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29595 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29597 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29598 for ac_func in _powf
29600 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29601 if test "x$ac_cv_func__powf" = x""yes; then :
29602 cat >>confdefs.h <<_ACEOF
29603 #define HAVE__POWF 1
29616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29617 $as_echo_n "checking for sqrtf declaration... " >&6; }
29618 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29619 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29620 $as_echo_n "(cached) " >&6
29625 ac_cpp='$CXXCPP $CPPFLAGS'
29626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29631 /* end confdefs.h. */
29633 #ifdef HAVE_IEEEFP_H
29634 #include <ieeefp.h>
29645 if ac_fn_cxx_try_compile "$LINENO"; then :
29646 glibcxx_cv_func_sqrtf_use=yes
29648 glibcxx_cv_func_sqrtf_use=no
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29652 ac_cpp='$CPP $CPPFLAGS'
29653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29662 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29664 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29665 for ac_func in sqrtf
29667 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29668 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29669 cat >>confdefs.h <<_ACEOF
29670 #define HAVE_SQRTF 1
29678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29679 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29680 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29681 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29682 $as_echo_n "(cached) " >&6
29687 ac_cpp='$CXXCPP $CPPFLAGS'
29688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29693 /* end confdefs.h. */
29695 #ifdef HAVE_IEEEFP_H
29696 #include <ieeefp.h>
29707 if ac_fn_cxx_try_compile "$LINENO"; then :
29708 glibcxx_cv_func__sqrtf_use=yes
29710 glibcxx_cv_func__sqrtf_use=no
29712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29714 ac_cpp='$CPP $CPPFLAGS'
29715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29724 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29726 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29727 for ac_func in _sqrtf
29729 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29730 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29731 cat >>confdefs.h <<_ACEOF
29732 #define HAVE__SQRTF 1
29745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29746 $as_echo_n "checking for sincosf declaration... " >&6; }
29747 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29748 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29749 $as_echo_n "(cached) " >&6
29754 ac_cpp='$CXXCPP $CPPFLAGS'
29755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29760 /* end confdefs.h. */
29770 if ac_fn_cxx_try_compile "$LINENO"; then :
29771 glibcxx_cv_func_sincosf_use=yes
29773 glibcxx_cv_func_sincosf_use=no
29775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29777 ac_cpp='$CPP $CPPFLAGS'
29778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29787 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29789 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29790 for ac_func in sincosf
29792 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29793 if test "x$ac_cv_func_sincosf" = x""yes; then :
29794 cat >>confdefs.h <<_ACEOF
29795 #define HAVE_SINCOSF 1
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29804 $as_echo_n "checking for _sincosf declaration... " >&6; }
29805 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29806 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29807 $as_echo_n "(cached) " >&6
29812 ac_cpp='$CXXCPP $CPPFLAGS'
29813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29818 /* end confdefs.h. */
29828 if ac_fn_cxx_try_compile "$LINENO"; then :
29829 glibcxx_cv_func__sincosf_use=yes
29831 glibcxx_cv_func__sincosf_use=no
29833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29835 ac_cpp='$CPP $CPPFLAGS'
29836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29845 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29847 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29848 for ac_func in _sincosf
29850 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29851 if test "x$ac_cv_func__sincosf" = x""yes; then :
29852 cat >>confdefs.h <<_ACEOF
29853 #define HAVE__SINCOSF 1
29866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29867 $as_echo_n "checking for finitef declaration... " >&6; }
29868 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29869 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29870 $as_echo_n "(cached) " >&6
29875 ac_cpp='$CXXCPP $CPPFLAGS'
29876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29881 /* end confdefs.h. */
29883 #ifdef HAVE_IEEEFP_H
29884 #include <ieeefp.h>
29895 if ac_fn_cxx_try_compile "$LINENO"; then :
29896 glibcxx_cv_func_finitef_use=yes
29898 glibcxx_cv_func_finitef_use=no
29900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29902 ac_cpp='$CPP $CPPFLAGS'
29903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29912 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29914 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29915 for ac_func in finitef
29917 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29918 if test "x$ac_cv_func_finitef" = x""yes; then :
29919 cat >>confdefs.h <<_ACEOF
29920 #define HAVE_FINITEF 1
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29929 $as_echo_n "checking for _finitef declaration... " >&6; }
29930 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29931 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29932 $as_echo_n "(cached) " >&6
29937 ac_cpp='$CXXCPP $CPPFLAGS'
29938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29943 /* end confdefs.h. */
29945 #ifdef HAVE_IEEEFP_H
29946 #include <ieeefp.h>
29957 if ac_fn_cxx_try_compile "$LINENO"; then :
29958 glibcxx_cv_func__finitef_use=yes
29960 glibcxx_cv_func__finitef_use=no
29962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29964 ac_cpp='$CPP $CPPFLAGS'
29965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29974 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29976 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29977 for ac_func in _finitef
29979 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29980 if test "x$ac_cv_func__finitef" = x""yes; then :
29981 cat >>confdefs.h <<_ACEOF
29982 #define HAVE__FINITEF 1
29995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29996 $as_echo_n "checking for long double trig functions... " >&6; }
29997 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29998 $as_echo_n "(cached) " >&6
30003 ac_cpp='$CXXCPP $CPPFLAGS'
30004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30009 /* end confdefs.h. */
30014 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30019 if ac_fn_cxx_try_compile "$LINENO"; then :
30020 glibcxx_cv_func_long_double_trig_use=yes
30022 glibcxx_cv_func_long_double_trig_use=no
30024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30026 ac_cpp='$CPP $CPPFLAGS'
30027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30034 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30035 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30036 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30038 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30040 eval as_val=\$$as_ac_var
30041 if test "x$as_val" = x""yes; then :
30042 cat >>confdefs.h <<_ACEOF
30043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30051 $as_echo_n "checking for _long double trig functions... " >&6; }
30052 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30053 $as_echo_n "(cached) " >&6
30058 ac_cpp='$CXXCPP $CPPFLAGS'
30059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30064 /* end confdefs.h. */
30069 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30074 if ac_fn_cxx_try_compile "$LINENO"; then :
30075 glibcxx_cv_func__long_double_trig_use=yes
30077 glibcxx_cv_func__long_double_trig_use=no
30079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30081 ac_cpp='$CPP $CPPFLAGS'
30082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30089 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30090 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30091 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30095 eval as_val=\$$as_ac_var
30096 if test "x$as_val" = x""yes; then :
30097 cat >>confdefs.h <<_ACEOF
30098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30112 $as_echo_n "checking for long double round functions... " >&6; }
30113 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30114 $as_echo_n "(cached) " >&6
30119 ac_cpp='$CXXCPP $CPPFLAGS'
30120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30125 /* end confdefs.h. */
30130 ceill (0); floorl (0);
30135 if ac_fn_cxx_try_compile "$LINENO"; then :
30136 glibcxx_cv_func_long_double_round_use=yes
30138 glibcxx_cv_func_long_double_round_use=no
30140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30142 ac_cpp='$CPP $CPPFLAGS'
30143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30150 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30151 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30152 for ac_func in ceill floorl
30154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30156 eval as_val=\$$as_ac_var
30157 if test "x$as_val" = x""yes; then :
30158 cat >>confdefs.h <<_ACEOF
30159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30167 $as_echo_n "checking for _long double round functions... " >&6; }
30168 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30169 $as_echo_n "(cached) " >&6
30174 ac_cpp='$CXXCPP $CPPFLAGS'
30175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30180 /* end confdefs.h. */
30185 _ceill (0); _floorl (0);
30190 if ac_fn_cxx_try_compile "$LINENO"; then :
30191 glibcxx_cv_func__long_double_round_use=yes
30193 glibcxx_cv_func__long_double_round_use=no
30195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30197 ac_cpp='$CPP $CPPFLAGS'
30198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30205 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30206 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30207 for ac_func in _ceill _floorl
30209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30211 eval as_val=\$$as_ac_var
30212 if test "x$as_val" = x""yes; then :
30213 cat >>confdefs.h <<_ACEOF
30214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30229 $as_echo_n "checking for isnanl declaration... " >&6; }
30230 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30231 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30232 $as_echo_n "(cached) " >&6
30237 ac_cpp='$CXXCPP $CPPFLAGS'
30238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30243 /* end confdefs.h. */
30245 #ifdef HAVE_IEEEFP_H
30246 #include <ieeefp.h>
30257 if ac_fn_cxx_try_compile "$LINENO"; then :
30258 glibcxx_cv_func_isnanl_use=yes
30260 glibcxx_cv_func_isnanl_use=no
30262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30264 ac_cpp='$CPP $CPPFLAGS'
30265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30274 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30276 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30277 for ac_func in isnanl
30279 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30280 if test "x$ac_cv_func_isnanl" = x""yes; then :
30281 cat >>confdefs.h <<_ACEOF
30282 #define HAVE_ISNANL 1
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30291 $as_echo_n "checking for _isnanl declaration... " >&6; }
30292 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30293 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30294 $as_echo_n "(cached) " >&6
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30307 #ifdef HAVE_IEEEFP_H
30308 #include <ieeefp.h>
30319 if ac_fn_cxx_try_compile "$LINENO"; then :
30320 glibcxx_cv_func__isnanl_use=yes
30322 glibcxx_cv_func__isnanl_use=no
30324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30326 ac_cpp='$CPP $CPPFLAGS'
30327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30336 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30338 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30339 for ac_func in _isnanl
30341 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30342 if test "x$ac_cv_func__isnanl" = x""yes; then :
30343 cat >>confdefs.h <<_ACEOF
30344 #define HAVE__ISNANL 1
30357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30358 $as_echo_n "checking for isinfl declaration... " >&6; }
30359 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30360 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30361 $as_echo_n "(cached) " >&6
30366 ac_cpp='$CXXCPP $CPPFLAGS'
30367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30372 /* end confdefs.h. */
30374 #ifdef HAVE_IEEEFP_H
30375 #include <ieeefp.h>
30386 if ac_fn_cxx_try_compile "$LINENO"; then :
30387 glibcxx_cv_func_isinfl_use=yes
30389 glibcxx_cv_func_isinfl_use=no
30391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393 ac_cpp='$CPP $CPPFLAGS'
30394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30403 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30405 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30406 for ac_func in isinfl
30408 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30409 if test "x$ac_cv_func_isinfl" = x""yes; then :
30410 cat >>confdefs.h <<_ACEOF
30411 #define HAVE_ISINFL 1
30419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30420 $as_echo_n "checking for _isinfl declaration... " >&6; }
30421 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30422 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30423 $as_echo_n "(cached) " >&6
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30436 #ifdef HAVE_IEEEFP_H
30437 #include <ieeefp.h>
30448 if ac_fn_cxx_try_compile "$LINENO"; then :
30449 glibcxx_cv_func__isinfl_use=yes
30451 glibcxx_cv_func__isinfl_use=no
30453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30455 ac_cpp='$CPP $CPPFLAGS'
30456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30465 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30467 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30468 for ac_func in _isinfl
30470 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30471 if test "x$ac_cv_func__isinfl" = x""yes; then :
30472 cat >>confdefs.h <<_ACEOF
30473 #define HAVE__ISINFL 1
30486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30487 $as_echo_n "checking for atan2l declaration... " >&6; }
30488 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30489 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30490 $as_echo_n "(cached) " >&6
30495 ac_cpp='$CXXCPP $CPPFLAGS'
30496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30501 /* end confdefs.h. */
30511 if ac_fn_cxx_try_compile "$LINENO"; then :
30512 glibcxx_cv_func_atan2l_use=yes
30514 glibcxx_cv_func_atan2l_use=no
30516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30518 ac_cpp='$CPP $CPPFLAGS'
30519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30528 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30530 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30531 for ac_func in atan2l
30533 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30534 if test "x$ac_cv_func_atan2l" = x""yes; then :
30535 cat >>confdefs.h <<_ACEOF
30536 #define HAVE_ATAN2L 1
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30545 $as_echo_n "checking for _atan2l declaration... " >&6; }
30546 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30547 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30548 $as_echo_n "(cached) " >&6
30553 ac_cpp='$CXXCPP $CPPFLAGS'
30554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30559 /* end confdefs.h. */
30569 if ac_fn_cxx_try_compile "$LINENO"; then :
30570 glibcxx_cv_func__atan2l_use=yes
30572 glibcxx_cv_func__atan2l_use=no
30574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30576 ac_cpp='$CPP $CPPFLAGS'
30577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30586 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30588 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30589 for ac_func in _atan2l
30591 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30592 if test "x$ac_cv_func__atan2l" = x""yes; then :
30593 cat >>confdefs.h <<_ACEOF
30594 #define HAVE__ATAN2L 1
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30608 $as_echo_n "checking for expl declaration... " >&6; }
30609 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30610 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30611 $as_echo_n "(cached) " >&6
30616 ac_cpp='$CXXCPP $CPPFLAGS'
30617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30622 /* end confdefs.h. */
30624 #ifdef HAVE_IEEEFP_H
30625 #include <ieeefp.h>
30636 if ac_fn_cxx_try_compile "$LINENO"; then :
30637 glibcxx_cv_func_expl_use=yes
30639 glibcxx_cv_func_expl_use=no
30641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30643 ac_cpp='$CPP $CPPFLAGS'
30644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30653 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30655 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30656 for ac_func in expl
30658 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30659 if test "x$ac_cv_func_expl" = x""yes; then :
30660 cat >>confdefs.h <<_ACEOF
30661 #define HAVE_EXPL 1
30669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30670 $as_echo_n "checking for _expl declaration... " >&6; }
30671 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30672 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30673 $as_echo_n "(cached) " >&6
30678 ac_cpp='$CXXCPP $CPPFLAGS'
30679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30684 /* end confdefs.h. */
30686 #ifdef HAVE_IEEEFP_H
30687 #include <ieeefp.h>
30698 if ac_fn_cxx_try_compile "$LINENO"; then :
30699 glibcxx_cv_func__expl_use=yes
30701 glibcxx_cv_func__expl_use=no
30703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30705 ac_cpp='$CPP $CPPFLAGS'
30706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30715 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30717 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30718 for ac_func in _expl
30720 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30721 if test "x$ac_cv_func__expl" = x""yes; then :
30722 cat >>confdefs.h <<_ACEOF
30723 #define HAVE__EXPL 1
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30737 $as_echo_n "checking for fabsl declaration... " >&6; }
30738 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30739 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30740 $as_echo_n "(cached) " >&6
30745 ac_cpp='$CXXCPP $CPPFLAGS'
30746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30751 /* end confdefs.h. */
30753 #ifdef HAVE_IEEEFP_H
30754 #include <ieeefp.h>
30765 if ac_fn_cxx_try_compile "$LINENO"; then :
30766 glibcxx_cv_func_fabsl_use=yes
30768 glibcxx_cv_func_fabsl_use=no
30770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30772 ac_cpp='$CPP $CPPFLAGS'
30773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30782 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30784 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30785 for ac_func in fabsl
30787 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30788 if test "x$ac_cv_func_fabsl" = x""yes; then :
30789 cat >>confdefs.h <<_ACEOF
30790 #define HAVE_FABSL 1
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30799 $as_echo_n "checking for _fabsl declaration... " >&6; }
30800 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30801 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30802 $as_echo_n "(cached) " >&6
30807 ac_cpp='$CXXCPP $CPPFLAGS'
30808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30813 /* end confdefs.h. */
30815 #ifdef HAVE_IEEEFP_H
30816 #include <ieeefp.h>
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828 glibcxx_cv_func__fabsl_use=yes
30830 glibcxx_cv_func__fabsl_use=no
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30844 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30846 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30847 for ac_func in _fabsl
30849 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30850 if test "x$ac_cv_func__fabsl" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define HAVE__FABSL 1
30865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30866 $as_echo_n "checking for fmodl declaration... " >&6; }
30867 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30868 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30869 $as_echo_n "(cached) " >&6
30874 ac_cpp='$CXXCPP $CPPFLAGS'
30875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30880 /* end confdefs.h. */
30890 if ac_fn_cxx_try_compile "$LINENO"; then :
30891 glibcxx_cv_func_fmodl_use=yes
30893 glibcxx_cv_func_fmodl_use=no
30895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30897 ac_cpp='$CPP $CPPFLAGS'
30898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30907 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30909 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30910 for ac_func in fmodl
30912 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30913 if test "x$ac_cv_func_fmodl" = x""yes; then :
30914 cat >>confdefs.h <<_ACEOF
30915 #define HAVE_FMODL 1
30923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30924 $as_echo_n "checking for _fmodl declaration... " >&6; }
30925 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30926 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30927 $as_echo_n "(cached) " >&6
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h. */
30948 if ac_fn_cxx_try_compile "$LINENO"; then :
30949 glibcxx_cv_func__fmodl_use=yes
30951 glibcxx_cv_func__fmodl_use=no
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30965 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30967 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30968 for ac_func in _fmodl
30970 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30971 if test "x$ac_cv_func__fmodl" = x""yes; then :
30972 cat >>confdefs.h <<_ACEOF
30973 #define HAVE__FMODL 1
30986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30987 $as_echo_n "checking for frexpl declaration... " >&6; }
30988 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30989 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30990 $as_echo_n "(cached) " >&6
30995 ac_cpp='$CXXCPP $CPPFLAGS'
30996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31001 /* end confdefs.h. */
31011 if ac_fn_cxx_try_compile "$LINENO"; then :
31012 glibcxx_cv_func_frexpl_use=yes
31014 glibcxx_cv_func_frexpl_use=no
31016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31018 ac_cpp='$CPP $CPPFLAGS'
31019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31028 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31030 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31031 for ac_func in frexpl
31033 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31034 if test "x$ac_cv_func_frexpl" = x""yes; then :
31035 cat >>confdefs.h <<_ACEOF
31036 #define HAVE_FREXPL 1
31044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31045 $as_echo_n "checking for _frexpl declaration... " >&6; }
31046 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31047 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31048 $as_echo_n "(cached) " >&6
31053 ac_cpp='$CXXCPP $CPPFLAGS'
31054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31059 /* end confdefs.h. */
31069 if ac_fn_cxx_try_compile "$LINENO"; then :
31070 glibcxx_cv_func__frexpl_use=yes
31072 glibcxx_cv_func__frexpl_use=no
31074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31076 ac_cpp='$CPP $CPPFLAGS'
31077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31086 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31088 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31089 for ac_func in _frexpl
31091 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31092 if test "x$ac_cv_func__frexpl" = x""yes; then :
31093 cat >>confdefs.h <<_ACEOF
31094 #define HAVE__FREXPL 1
31107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31108 $as_echo_n "checking for hypotl declaration... " >&6; }
31109 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31110 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31111 $as_echo_n "(cached) " >&6
31116 ac_cpp='$CXXCPP $CPPFLAGS'
31117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31122 /* end confdefs.h. */
31132 if ac_fn_cxx_try_compile "$LINENO"; then :
31133 glibcxx_cv_func_hypotl_use=yes
31135 glibcxx_cv_func_hypotl_use=no
31137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31139 ac_cpp='$CPP $CPPFLAGS'
31140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31149 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31151 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31152 for ac_func in hypotl
31154 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31155 if test "x$ac_cv_func_hypotl" = x""yes; then :
31156 cat >>confdefs.h <<_ACEOF
31157 #define HAVE_HYPOTL 1
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31166 $as_echo_n "checking for _hypotl declaration... " >&6; }
31167 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31168 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31169 $as_echo_n "(cached) " >&6
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31180 /* end confdefs.h. */
31190 if ac_fn_cxx_try_compile "$LINENO"; then :
31191 glibcxx_cv_func__hypotl_use=yes
31193 glibcxx_cv_func__hypotl_use=no
31195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31197 ac_cpp='$CPP $CPPFLAGS'
31198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31207 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31209 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31210 for ac_func in _hypotl
31212 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31213 if test "x$ac_cv_func__hypotl" = x""yes; then :
31214 cat >>confdefs.h <<_ACEOF
31215 #define HAVE__HYPOTL 1
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31229 $as_echo_n "checking for ldexpl declaration... " >&6; }
31230 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31231 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31232 $as_echo_n "(cached) " >&6
31237 ac_cpp='$CXXCPP $CPPFLAGS'
31238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31243 /* end confdefs.h. */
31253 if ac_fn_cxx_try_compile "$LINENO"; then :
31254 glibcxx_cv_func_ldexpl_use=yes
31256 glibcxx_cv_func_ldexpl_use=no
31258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31260 ac_cpp='$CPP $CPPFLAGS'
31261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31270 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31272 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31273 for ac_func in ldexpl
31275 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31276 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31277 cat >>confdefs.h <<_ACEOF
31278 #define HAVE_LDEXPL 1
31286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31287 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31288 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31289 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31290 $as_echo_n "(cached) " >&6
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301 /* end confdefs.h. */
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312 glibcxx_cv_func__ldexpl_use=yes
31314 glibcxx_cv_func__ldexpl_use=no
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31328 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31330 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31331 for ac_func in _ldexpl
31333 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31334 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31335 cat >>confdefs.h <<_ACEOF
31336 #define HAVE__LDEXPL 1
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31350 $as_echo_n "checking for logl declaration... " >&6; }
31351 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31352 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31353 $as_echo_n "(cached) " >&6
31358 ac_cpp='$CXXCPP $CPPFLAGS'
31359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364 /* end confdefs.h. */
31366 #ifdef HAVE_IEEEFP_H
31367 #include <ieeefp.h>
31378 if ac_fn_cxx_try_compile "$LINENO"; then :
31379 glibcxx_cv_func_logl_use=yes
31381 glibcxx_cv_func_logl_use=no
31383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31385 ac_cpp='$CPP $CPPFLAGS'
31386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31395 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31397 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31398 for ac_func in logl
31400 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31401 if test "x$ac_cv_func_logl" = x""yes; then :
31402 cat >>confdefs.h <<_ACEOF
31403 #define HAVE_LOGL 1
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31412 $as_echo_n "checking for _logl declaration... " >&6; }
31413 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31414 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31415 $as_echo_n "(cached) " >&6
31420 ac_cpp='$CXXCPP $CPPFLAGS'
31421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426 /* end confdefs.h. */
31428 #ifdef HAVE_IEEEFP_H
31429 #include <ieeefp.h>
31440 if ac_fn_cxx_try_compile "$LINENO"; then :
31441 glibcxx_cv_func__logl_use=yes
31443 glibcxx_cv_func__logl_use=no
31445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31447 ac_cpp='$CPP $CPPFLAGS'
31448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31457 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31459 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31460 for ac_func in _logl
31462 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31463 if test "x$ac_cv_func__logl" = x""yes; then :
31464 cat >>confdefs.h <<_ACEOF
31465 #define HAVE__LOGL 1
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31479 $as_echo_n "checking for log10l declaration... " >&6; }
31480 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31481 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31482 $as_echo_n "(cached) " >&6
31487 ac_cpp='$CXXCPP $CPPFLAGS'
31488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31493 /* end confdefs.h. */
31495 #ifdef HAVE_IEEEFP_H
31496 #include <ieeefp.h>
31507 if ac_fn_cxx_try_compile "$LINENO"; then :
31508 glibcxx_cv_func_log10l_use=yes
31510 glibcxx_cv_func_log10l_use=no
31512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31514 ac_cpp='$CPP $CPPFLAGS'
31515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31524 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31526 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31527 for ac_func in log10l
31529 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31530 if test "x$ac_cv_func_log10l" = x""yes; then :
31531 cat >>confdefs.h <<_ACEOF
31532 #define HAVE_LOG10L 1
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31541 $as_echo_n "checking for _log10l declaration... " >&6; }
31542 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31543 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31544 $as_echo_n "(cached) " >&6
31549 ac_cpp='$CXXCPP $CPPFLAGS'
31550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555 /* end confdefs.h. */
31557 #ifdef HAVE_IEEEFP_H
31558 #include <ieeefp.h>
31569 if ac_fn_cxx_try_compile "$LINENO"; then :
31570 glibcxx_cv_func__log10l_use=yes
31572 glibcxx_cv_func__log10l_use=no
31574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31576 ac_cpp='$CPP $CPPFLAGS'
31577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31586 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31588 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31589 for ac_func in _log10l
31591 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31592 if test "x$ac_cv_func__log10l" = x""yes; then :
31593 cat >>confdefs.h <<_ACEOF
31594 #define HAVE__LOG10L 1
31607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31608 $as_echo_n "checking for modfl declaration... " >&6; }
31609 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31610 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31611 $as_echo_n "(cached) " >&6
31616 ac_cpp='$CXXCPP $CPPFLAGS'
31617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31622 /* end confdefs.h. */
31632 if ac_fn_cxx_try_compile "$LINENO"; then :
31633 glibcxx_cv_func_modfl_use=yes
31635 glibcxx_cv_func_modfl_use=no
31637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31639 ac_cpp='$CPP $CPPFLAGS'
31640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31649 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31651 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31652 for ac_func in modfl
31654 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31655 if test "x$ac_cv_func_modfl" = x""yes; then :
31656 cat >>confdefs.h <<_ACEOF
31657 #define HAVE_MODFL 1
31665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31666 $as_echo_n "checking for _modfl declaration... " >&6; }
31667 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31668 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31669 $as_echo_n "(cached) " >&6
31674 ac_cpp='$CXXCPP $CPPFLAGS'
31675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31680 /* end confdefs.h. */
31690 if ac_fn_cxx_try_compile "$LINENO"; then :
31691 glibcxx_cv_func__modfl_use=yes
31693 glibcxx_cv_func__modfl_use=no
31695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31697 ac_cpp='$CPP $CPPFLAGS'
31698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31707 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31709 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31710 for ac_func in _modfl
31712 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31713 if test "x$ac_cv_func__modfl" = x""yes; then :
31714 cat >>confdefs.h <<_ACEOF
31715 #define HAVE__MODFL 1
31728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31729 $as_echo_n "checking for powl declaration... " >&6; }
31730 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31731 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31732 $as_echo_n "(cached) " >&6
31737 ac_cpp='$CXXCPP $CPPFLAGS'
31738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31743 /* end confdefs.h. */
31753 if ac_fn_cxx_try_compile "$LINENO"; then :
31754 glibcxx_cv_func_powl_use=yes
31756 glibcxx_cv_func_powl_use=no
31758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31760 ac_cpp='$CPP $CPPFLAGS'
31761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31770 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31772 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31773 for ac_func in powl
31775 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31776 if test "x$ac_cv_func_powl" = x""yes; then :
31777 cat >>confdefs.h <<_ACEOF
31778 #define HAVE_POWL 1
31786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31787 $as_echo_n "checking for _powl declaration... " >&6; }
31788 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31789 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31790 $as_echo_n "(cached) " >&6
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31801 /* end confdefs.h. */
31811 if ac_fn_cxx_try_compile "$LINENO"; then :
31812 glibcxx_cv_func__powl_use=yes
31814 glibcxx_cv_func__powl_use=no
31816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31828 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31830 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31831 for ac_func in _powl
31833 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31834 if test "x$ac_cv_func__powl" = x""yes; then :
31835 cat >>confdefs.h <<_ACEOF
31836 #define HAVE__POWL 1
31849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31850 $as_echo_n "checking for sqrtl declaration... " >&6; }
31851 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31852 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31853 $as_echo_n "(cached) " >&6
31858 ac_cpp='$CXXCPP $CPPFLAGS'
31859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31864 /* end confdefs.h. */
31866 #ifdef HAVE_IEEEFP_H
31867 #include <ieeefp.h>
31878 if ac_fn_cxx_try_compile "$LINENO"; then :
31879 glibcxx_cv_func_sqrtl_use=yes
31881 glibcxx_cv_func_sqrtl_use=no
31883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31885 ac_cpp='$CPP $CPPFLAGS'
31886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31895 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31897 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31898 for ac_func in sqrtl
31900 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31901 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31902 cat >>confdefs.h <<_ACEOF
31903 #define HAVE_SQRTL 1
31911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31912 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31913 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31914 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31915 $as_echo_n "(cached) " >&6
31920 ac_cpp='$CXXCPP $CPPFLAGS'
31921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31926 /* end confdefs.h. */
31928 #ifdef HAVE_IEEEFP_H
31929 #include <ieeefp.h>
31940 if ac_fn_cxx_try_compile "$LINENO"; then :
31941 glibcxx_cv_func__sqrtl_use=yes
31943 glibcxx_cv_func__sqrtl_use=no
31945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31947 ac_cpp='$CPP $CPPFLAGS'
31948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31957 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31959 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31960 for ac_func in _sqrtl
31962 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31963 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31964 cat >>confdefs.h <<_ACEOF
31965 #define HAVE__SQRTL 1
31978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31979 $as_echo_n "checking for sincosl declaration... " >&6; }
31980 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31981 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31982 $as_echo_n "(cached) " >&6
31987 ac_cpp='$CXXCPP $CPPFLAGS'
31988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31993 /* end confdefs.h. */
32003 if ac_fn_cxx_try_compile "$LINENO"; then :
32004 glibcxx_cv_func_sincosl_use=yes
32006 glibcxx_cv_func_sincosl_use=no
32008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32010 ac_cpp='$CPP $CPPFLAGS'
32011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32020 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32022 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32023 for ac_func in sincosl
32025 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32026 if test "x$ac_cv_func_sincosl" = x""yes; then :
32027 cat >>confdefs.h <<_ACEOF
32028 #define HAVE_SINCOSL 1
32036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32037 $as_echo_n "checking for _sincosl declaration... " >&6; }
32038 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32039 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32040 $as_echo_n "(cached) " >&6
32045 ac_cpp='$CXXCPP $CPPFLAGS'
32046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32051 /* end confdefs.h. */
32061 if ac_fn_cxx_try_compile "$LINENO"; then :
32062 glibcxx_cv_func__sincosl_use=yes
32064 glibcxx_cv_func__sincosl_use=no
32066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32068 ac_cpp='$CPP $CPPFLAGS'
32069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32078 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32080 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32081 for ac_func in _sincosl
32083 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32084 if test "x$ac_cv_func__sincosl" = x""yes; then :
32085 cat >>confdefs.h <<_ACEOF
32086 #define HAVE__SINCOSL 1
32099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32100 $as_echo_n "checking for finitel declaration... " >&6; }
32101 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32102 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32103 $as_echo_n "(cached) " >&6
32108 ac_cpp='$CXXCPP $CPPFLAGS'
32109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32114 /* end confdefs.h. */
32116 #ifdef HAVE_IEEEFP_H
32117 #include <ieeefp.h>
32128 if ac_fn_cxx_try_compile "$LINENO"; then :
32129 glibcxx_cv_func_finitel_use=yes
32131 glibcxx_cv_func_finitel_use=no
32133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32135 ac_cpp='$CPP $CPPFLAGS'
32136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32145 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32147 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32148 for ac_func in finitel
32150 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32151 if test "x$ac_cv_func_finitel" = x""yes; then :
32152 cat >>confdefs.h <<_ACEOF
32153 #define HAVE_FINITEL 1
32161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32162 $as_echo_n "checking for _finitel declaration... " >&6; }
32163 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32164 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32165 $as_echo_n "(cached) " >&6
32170 ac_cpp='$CXXCPP $CPPFLAGS'
32171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32176 /* end confdefs.h. */
32178 #ifdef HAVE_IEEEFP_H
32179 #include <ieeefp.h>
32190 if ac_fn_cxx_try_compile "$LINENO"; then :
32191 glibcxx_cv_func__finitel_use=yes
32193 glibcxx_cv_func__finitel_use=no
32195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32197 ac_cpp='$CPP $CPPFLAGS'
32198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32207 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32209 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32210 for ac_func in _finitel
32212 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32213 if test "x$ac_cv_func__finitel" = x""yes; then :
32214 cat >>confdefs.h <<_ACEOF
32215 #define HAVE__FINITEL 1
32227 LIBS="$ac_save_LIBS"
32228 CXXFLAGS="$ac_save_CXXFLAGS"
32231 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32232 ac_save_CXXFLAGS="$CXXFLAGS"
32233 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32237 $as_echo_n "checking for strtold declaration... " >&6; }
32238 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32239 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32240 $as_echo_n "(cached) " >&6
32245 ac_cpp='$CXXCPP $CPPFLAGS'
32246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32251 /* end confdefs.h. */
32252 #include <stdlib.h>
32261 if ac_fn_cxx_try_compile "$LINENO"; then :
32262 glibcxx_cv_func_strtold_use=yes
32264 glibcxx_cv_func_strtold_use=no
32266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32268 ac_cpp='$CPP $CPPFLAGS'
32269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32278 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32279 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32280 for ac_func in strtold
32282 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32283 if test "x$ac_cv_func_strtold" = x""yes; then :
32284 cat >>confdefs.h <<_ACEOF
32285 #define HAVE_STRTOLD 1
32296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32297 $as_echo_n "checking for strtof declaration... " >&6; }
32298 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32299 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32300 $as_echo_n "(cached) " >&6
32305 ac_cpp='$CXXCPP $CPPFLAGS'
32306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32311 /* end confdefs.h. */
32312 #include <stdlib.h>
32321 if ac_fn_cxx_try_compile "$LINENO"; then :
32322 glibcxx_cv_func_strtof_use=yes
32324 glibcxx_cv_func_strtof_use=no
32326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32328 ac_cpp='$CPP $CPPFLAGS'
32329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32338 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32339 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32340 for ac_func in strtof
32342 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32343 if test "x$ac_cv_func_strtof" = x""yes; then :
32344 cat >>confdefs.h <<_ACEOF
32345 #define HAVE_STRTOF 1
32356 CXXFLAGS="$ac_save_CXXFLAGS"
32359 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32361 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32363 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32365 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32368 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32370 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32372 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32378 # If we're not using GNU ld, then there's no point in even trying these
32379 # tests. Check for that first. We should have already tested for gld
32380 # by now (in libtool), but require it now just to be safe...
32381 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32382 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32386 # The name set by libtool depends on the version of libtool. Shame on us
32387 # for depending on an impl detail, but c'est la vie. Older versions used
32388 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32389 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32390 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32391 # set (hence we're using an older libtool), then set it.
32392 if test x${with_gnu_ld+set} != xset; then
32393 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32394 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32397 with_gnu_ld=$ac_cv_prog_gnu_ld
32401 # Start by getting the version number. I think the libtool test already
32402 # does some of this, but throws away the result.
32403 glibcxx_ld_is_gold=no
32404 if test x"$with_gnu_ld" = x"yes"; then
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32406 $as_echo_n "checking for ld version... " >&6; }
32408 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32409 glibcxx_ld_is_gold=yes
32411 ldver=`$LD --version 2>/dev/null |
32412 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
32414 glibcxx_gnu_ld_version=`echo $ldver | \
32415 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32417 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32420 # Set --gc-sections.
32421 glibcxx_have_gc_sections=no
32422 if test "$glibcxx_ld_is_gold" = "yes"; then
32423 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32424 glibcxx_have_gc_sections=yes
32427 glibcxx_gcsections_min_ld=21602
32428 if test x"$with_gnu_ld" = x"yes" &&
32429 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32430 glibcxx_have_gc_sections=yes
32433 if test "$glibcxx_have_gc_sections" = "yes"; then
32434 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32435 # NB: This flag only works reliably after 2.16.1. Configure tests
32436 # for this are difficult, so hard wire a value that should work.
32438 ac_test_CFLAGS="${CFLAGS+set}"
32439 ac_save_CFLAGS="$CFLAGS"
32440 CFLAGS='-Wl,--gc-sections'
32442 # Check for -Wl,--gc-sections
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32444 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32445 if test x$gcc_no_link = xyes; then
32446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32449 /* end confdefs.h. */
32450 int one(void) { return 1; }
32451 int two(void) { return 2; }
32461 if ac_fn_c_try_link "$LINENO"; then :
32466 rm -f core conftest.err conftest.$ac_objext \
32467 conftest$ac_exeext conftest.$ac_ext
32468 if test "$ac_gcsections" = "yes"; then
32471 if $CC -c conftest.c; then
32472 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32473 grep "Warning: gc-sections option ignored" > /dev/null; then
32477 rm -f conftest.c conftest.o conftest
32479 if test "$ac_gcsections" = "yes"; then
32480 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32483 $as_echo "$ac_gcsections" >&6; }
32485 if test "$ac_test_CFLAGS" = set; then
32486 CFLAGS="$ac_save_CFLAGS"
32488 # this is the suspicious part
32494 # Note this is only for shared objects.
32496 if test x"$with_gnu_ld" = x"yes"; then
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32498 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32499 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32500 if test -n "$cxx_z_relo"; then
32501 OPT_LDFLAGS="-Wl,-z,relro"
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32505 $as_echo "$ac_ld_relro" >&6; }
32508 # Set linker optimization flags.
32509 if test x"$with_gnu_ld" = x"yes"; then
32510 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32517 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32518 ac_save_CXXFLAGS="$CXXFLAGS"
32519 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32522 $as_echo_n "checking for sin in -lm... " >&6; }
32523 if test "${ac_cv_lib_m_sin+set}" = set; then :
32524 $as_echo_n "(cached) " >&6
32526 ac_check_lib_save_LIBS=$LIBS
32528 if test x$gcc_no_link = xyes; then
32529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32532 /* end confdefs.h. */
32534 /* Override any GCC internal prototype to avoid an error.
32535 Use char because int might match the return type of a GCC
32536 builtin and then its argument prototype would still apply. */
32549 if ac_fn_c_try_link "$LINENO"; then :
32550 ac_cv_lib_m_sin=yes
32554 rm -f core conftest.err conftest.$ac_objext \
32555 conftest$ac_exeext conftest.$ac_ext
32556 LIBS=$ac_check_lib_save_LIBS
32558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32559 $as_echo "$ac_cv_lib_m_sin" >&6; }
32560 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32564 ac_save_LIBS="$LIBS"
32569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32570 $as_echo_n "checking for isinf declaration... " >&6; }
32571 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32572 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32573 $as_echo_n "(cached) " >&6
32578 ac_cpp='$CXXCPP $CPPFLAGS'
32579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32584 /* end confdefs.h. */
32586 #ifdef HAVE_IEEEFP_H
32587 #include <ieeefp.h>
32598 if ac_fn_cxx_try_compile "$LINENO"; then :
32599 glibcxx_cv_func_isinf_use=yes
32601 glibcxx_cv_func_isinf_use=no
32603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32605 ac_cpp='$CPP $CPPFLAGS'
32606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32615 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32617 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32618 for ac_func in isinf
32620 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32621 if test "x$ac_cv_func_isinf" = x""yes; then :
32622 cat >>confdefs.h <<_ACEOF
32623 #define HAVE_ISINF 1
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32632 $as_echo_n "checking for _isinf declaration... " >&6; }
32633 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32634 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32635 $as_echo_n "(cached) " >&6
32640 ac_cpp='$CXXCPP $CPPFLAGS'
32641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32646 /* end confdefs.h. */
32648 #ifdef HAVE_IEEEFP_H
32649 #include <ieeefp.h>
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661 glibcxx_cv_func__isinf_use=yes
32663 glibcxx_cv_func__isinf_use=no
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32677 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32679 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32680 for ac_func in _isinf
32682 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32683 if test "x$ac_cv_func__isinf" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE__ISINF 1
32698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32699 $as_echo_n "checking for isnan declaration... " >&6; }
32700 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32701 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32702 $as_echo_n "(cached) " >&6
32707 ac_cpp='$CXXCPP $CPPFLAGS'
32708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713 /* end confdefs.h. */
32715 #ifdef HAVE_IEEEFP_H
32716 #include <ieeefp.h>
32727 if ac_fn_cxx_try_compile "$LINENO"; then :
32728 glibcxx_cv_func_isnan_use=yes
32730 glibcxx_cv_func_isnan_use=no
32732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32734 ac_cpp='$CPP $CPPFLAGS'
32735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32744 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32746 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32747 for ac_func in isnan
32749 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32750 if test "x$ac_cv_func_isnan" = x""yes; then :
32751 cat >>confdefs.h <<_ACEOF
32752 #define HAVE_ISNAN 1
32760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32761 $as_echo_n "checking for _isnan declaration... " >&6; }
32762 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32763 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32764 $as_echo_n "(cached) " >&6
32769 ac_cpp='$CXXCPP $CPPFLAGS'
32770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h. */
32777 #ifdef HAVE_IEEEFP_H
32778 #include <ieeefp.h>
32789 if ac_fn_cxx_try_compile "$LINENO"; then :
32790 glibcxx_cv_func__isnan_use=yes
32792 glibcxx_cv_func__isnan_use=no
32794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32796 ac_cpp='$CPP $CPPFLAGS'
32797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32806 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32808 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32809 for ac_func in _isnan
32811 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32812 if test "x$ac_cv_func__isnan" = x""yes; then :
32813 cat >>confdefs.h <<_ACEOF
32814 #define HAVE__ISNAN 1
32827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32828 $as_echo_n "checking for finite declaration... " >&6; }
32829 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32830 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32831 $as_echo_n "(cached) " >&6
32836 ac_cpp='$CXXCPP $CPPFLAGS'
32837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32842 /* end confdefs.h. */
32844 #ifdef HAVE_IEEEFP_H
32845 #include <ieeefp.h>
32856 if ac_fn_cxx_try_compile "$LINENO"; then :
32857 glibcxx_cv_func_finite_use=yes
32859 glibcxx_cv_func_finite_use=no
32861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32863 ac_cpp='$CPP $CPPFLAGS'
32864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32873 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32875 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32876 for ac_func in finite
32878 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32879 if test "x$ac_cv_func_finite" = x""yes; then :
32880 cat >>confdefs.h <<_ACEOF
32881 #define HAVE_FINITE 1
32889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32890 $as_echo_n "checking for _finite declaration... " >&6; }
32891 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32892 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32893 $as_echo_n "(cached) " >&6
32898 ac_cpp='$CXXCPP $CPPFLAGS'
32899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32904 /* end confdefs.h. */
32906 #ifdef HAVE_IEEEFP_H
32907 #include <ieeefp.h>
32918 if ac_fn_cxx_try_compile "$LINENO"; then :
32919 glibcxx_cv_func__finite_use=yes
32921 glibcxx_cv_func__finite_use=no
32923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32935 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32937 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32938 for ac_func in _finite
32940 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32941 if test "x$ac_cv_func__finite" = x""yes; then :
32942 cat >>confdefs.h <<_ACEOF
32943 #define HAVE__FINITE 1
32956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32957 $as_echo_n "checking for sincos declaration... " >&6; }
32958 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32959 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32960 $as_echo_n "(cached) " >&6
32965 ac_cpp='$CXXCPP $CPPFLAGS'
32966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32971 /* end confdefs.h. */
32981 if ac_fn_cxx_try_compile "$LINENO"; then :
32982 glibcxx_cv_func_sincos_use=yes
32984 glibcxx_cv_func_sincos_use=no
32986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988 ac_cpp='$CPP $CPPFLAGS'
32989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32998 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33000 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33001 for ac_func in sincos
33003 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33004 if test "x$ac_cv_func_sincos" = x""yes; then :
33005 cat >>confdefs.h <<_ACEOF
33006 #define HAVE_SINCOS 1
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33015 $as_echo_n "checking for _sincos declaration... " >&6; }
33016 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33017 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33018 $as_echo_n "(cached) " >&6
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h. */
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func__sincos_use=yes
33042 glibcxx_cv_func__sincos_use=no
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33056 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33058 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33059 for ac_func in _sincos
33061 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33062 if test "x$ac_cv_func__sincos" = x""yes; then :
33063 cat >>confdefs.h <<_ACEOF
33064 #define HAVE__SINCOS 1
33077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33078 $as_echo_n "checking for fpclass declaration... " >&6; }
33079 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33080 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33081 $as_echo_n "(cached) " >&6
33086 ac_cpp='$CXXCPP $CPPFLAGS'
33087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33092 /* end confdefs.h. */
33094 #ifdef HAVE_IEEEFP_H
33095 #include <ieeefp.h>
33106 if ac_fn_cxx_try_compile "$LINENO"; then :
33107 glibcxx_cv_func_fpclass_use=yes
33109 glibcxx_cv_func_fpclass_use=no
33111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113 ac_cpp='$CPP $CPPFLAGS'
33114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33123 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33125 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33126 for ac_func in fpclass
33128 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33129 if test "x$ac_cv_func_fpclass" = x""yes; then :
33130 cat >>confdefs.h <<_ACEOF
33131 #define HAVE_FPCLASS 1
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33140 $as_echo_n "checking for _fpclass declaration... " >&6; }
33141 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33142 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33143 $as_echo_n "(cached) " >&6
33148 ac_cpp='$CXXCPP $CPPFLAGS'
33149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33154 /* end confdefs.h. */
33156 #ifdef HAVE_IEEEFP_H
33157 #include <ieeefp.h>
33168 if ac_fn_cxx_try_compile "$LINENO"; then :
33169 glibcxx_cv_func__fpclass_use=yes
33171 glibcxx_cv_func__fpclass_use=no
33173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33175 ac_cpp='$CPP $CPPFLAGS'
33176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33185 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33187 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33188 for ac_func in _fpclass
33190 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33191 if test "x$ac_cv_func__fpclass" = x""yes; then :
33192 cat >>confdefs.h <<_ACEOF
33193 #define HAVE__FPCLASS 1
33206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33207 $as_echo_n "checking for qfpclass declaration... " >&6; }
33208 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33209 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33210 $as_echo_n "(cached) " >&6
33215 ac_cpp='$CXXCPP $CPPFLAGS'
33216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33221 /* end confdefs.h. */
33223 #ifdef HAVE_IEEEFP_H
33224 #include <ieeefp.h>
33235 if ac_fn_cxx_try_compile "$LINENO"; then :
33236 glibcxx_cv_func_qfpclass_use=yes
33238 glibcxx_cv_func_qfpclass_use=no
33240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33242 ac_cpp='$CPP $CPPFLAGS'
33243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33252 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33254 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33255 for ac_func in qfpclass
33257 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33258 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33259 cat >>confdefs.h <<_ACEOF
33260 #define HAVE_QFPCLASS 1
33268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33269 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33270 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33271 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33272 $as_echo_n "(cached) " >&6
33277 ac_cpp='$CXXCPP $CPPFLAGS'
33278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33283 /* end confdefs.h. */
33285 #ifdef HAVE_IEEEFP_H
33286 #include <ieeefp.h>
33297 if ac_fn_cxx_try_compile "$LINENO"; then :
33298 glibcxx_cv_func__qfpclass_use=yes
33300 glibcxx_cv_func__qfpclass_use=no
33302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33304 ac_cpp='$CPP $CPPFLAGS'
33305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33314 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33316 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33317 for ac_func in _qfpclass
33319 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33320 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33321 cat >>confdefs.h <<_ACEOF
33322 #define HAVE__QFPCLASS 1
33335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33336 $as_echo_n "checking for hypot declaration... " >&6; }
33337 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33338 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33339 $as_echo_n "(cached) " >&6
33344 ac_cpp='$CXXCPP $CPPFLAGS'
33345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33350 /* end confdefs.h. */
33360 if ac_fn_cxx_try_compile "$LINENO"; then :
33361 glibcxx_cv_func_hypot_use=yes
33363 glibcxx_cv_func_hypot_use=no
33365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33367 ac_cpp='$CPP $CPPFLAGS'
33368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33377 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33379 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33380 for ac_func in hypot
33382 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33383 if test "x$ac_cv_func_hypot" = x""yes; then :
33384 cat >>confdefs.h <<_ACEOF
33385 #define HAVE_HYPOT 1
33393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33394 $as_echo_n "checking for _hypot declaration... " >&6; }
33395 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33396 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33397 $as_echo_n "(cached) " >&6
33402 ac_cpp='$CXXCPP $CPPFLAGS'
33403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33408 /* end confdefs.h. */
33418 if ac_fn_cxx_try_compile "$LINENO"; then :
33419 glibcxx_cv_func__hypot_use=yes
33421 glibcxx_cv_func__hypot_use=no
33423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33425 ac_cpp='$CPP $CPPFLAGS'
33426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33435 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33437 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33438 for ac_func in _hypot
33440 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33441 if test "x$ac_cv_func__hypot" = x""yes; then :
33442 cat >>confdefs.h <<_ACEOF
33443 #define HAVE__HYPOT 1
33456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33457 $as_echo_n "checking for float trig functions... " >&6; }
33458 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33459 $as_echo_n "(cached) " >&6
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33470 /* end confdefs.h. */
33475 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33480 if ac_fn_cxx_try_compile "$LINENO"; then :
33481 glibcxx_cv_func_float_trig_use=yes
33483 glibcxx_cv_func_float_trig_use=no
33485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33487 ac_cpp='$CPP $CPPFLAGS'
33488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33495 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33496 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33497 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33501 eval as_val=\$$as_ac_var
33502 if test "x$as_val" = x""yes; then :
33503 cat >>confdefs.h <<_ACEOF
33504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33512 $as_echo_n "checking for _float trig functions... " >&6; }
33513 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33514 $as_echo_n "(cached) " >&6
33519 ac_cpp='$CXXCPP $CPPFLAGS'
33520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33525 /* end confdefs.h. */
33530 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33535 if ac_fn_cxx_try_compile "$LINENO"; then :
33536 glibcxx_cv_func__float_trig_use=yes
33538 glibcxx_cv_func__float_trig_use=no
33540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33542 ac_cpp='$CPP $CPPFLAGS'
33543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33550 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33551 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33552 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33556 eval as_val=\$$as_ac_var
33557 if test "x$as_val" = x""yes; then :
33558 cat >>confdefs.h <<_ACEOF
33559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33573 $as_echo_n "checking for float round functions... " >&6; }
33574 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33575 $as_echo_n "(cached) " >&6
33580 ac_cpp='$CXXCPP $CPPFLAGS'
33581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33586 /* end confdefs.h. */
33591 ceilf (0); floorf (0);
33596 if ac_fn_cxx_try_compile "$LINENO"; then :
33597 glibcxx_cv_func_float_round_use=yes
33599 glibcxx_cv_func_float_round_use=no
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33611 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33612 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33613 for ac_func in ceilf floorf
33615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33617 eval as_val=\$$as_ac_var
33618 if test "x$as_val" = x""yes; then :
33619 cat >>confdefs.h <<_ACEOF
33620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33628 $as_echo_n "checking for _float round functions... " >&6; }
33629 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33630 $as_echo_n "(cached) " >&6
33635 ac_cpp='$CXXCPP $CPPFLAGS'
33636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33641 /* end confdefs.h. */
33646 _ceilf (0); _floorf (0);
33651 if ac_fn_cxx_try_compile "$LINENO"; then :
33652 glibcxx_cv_func__float_round_use=yes
33654 glibcxx_cv_func__float_round_use=no
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33666 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33667 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33668 for ac_func in _ceilf _floorf
33670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33672 eval as_val=\$$as_ac_var
33673 if test "x$as_val" = x""yes; then :
33674 cat >>confdefs.h <<_ACEOF
33675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33690 $as_echo_n "checking for expf declaration... " >&6; }
33691 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33692 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33693 $as_echo_n "(cached) " >&6
33698 ac_cpp='$CXXCPP $CPPFLAGS'
33699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33704 /* end confdefs.h. */
33706 #ifdef HAVE_IEEEFP_H
33707 #include <ieeefp.h>
33718 if ac_fn_cxx_try_compile "$LINENO"; then :
33719 glibcxx_cv_func_expf_use=yes
33721 glibcxx_cv_func_expf_use=no
33723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33735 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33737 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33738 for ac_func in expf
33740 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33741 if test "x$ac_cv_func_expf" = x""yes; then :
33742 cat >>confdefs.h <<_ACEOF
33743 #define HAVE_EXPF 1
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33752 $as_echo_n "checking for _expf declaration... " >&6; }
33753 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33754 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33755 $as_echo_n "(cached) " >&6
33760 ac_cpp='$CXXCPP $CPPFLAGS'
33761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33766 /* end confdefs.h. */
33768 #ifdef HAVE_IEEEFP_H
33769 #include <ieeefp.h>
33780 if ac_fn_cxx_try_compile "$LINENO"; then :
33781 glibcxx_cv_func__expf_use=yes
33783 glibcxx_cv_func__expf_use=no
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 ac_cpp='$CPP $CPPFLAGS'
33788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33797 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33799 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33800 for ac_func in _expf
33802 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33803 if test "x$ac_cv_func__expf" = x""yes; then :
33804 cat >>confdefs.h <<_ACEOF
33805 #define HAVE__EXPF 1
33818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33819 $as_echo_n "checking for isnanf declaration... " >&6; }
33820 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33821 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33822 $as_echo_n "(cached) " >&6
33827 ac_cpp='$CXXCPP $CPPFLAGS'
33828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33833 /* end confdefs.h. */
33835 #ifdef HAVE_IEEEFP_H
33836 #include <ieeefp.h>
33847 if ac_fn_cxx_try_compile "$LINENO"; then :
33848 glibcxx_cv_func_isnanf_use=yes
33850 glibcxx_cv_func_isnanf_use=no
33852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33854 ac_cpp='$CPP $CPPFLAGS'
33855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33864 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33866 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33867 for ac_func in isnanf
33869 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33870 if test "x$ac_cv_func_isnanf" = x""yes; then :
33871 cat >>confdefs.h <<_ACEOF
33872 #define HAVE_ISNANF 1
33880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33881 $as_echo_n "checking for _isnanf declaration... " >&6; }
33882 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33883 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33884 $as_echo_n "(cached) " >&6
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33895 /* end confdefs.h. */
33897 #ifdef HAVE_IEEEFP_H
33898 #include <ieeefp.h>
33909 if ac_fn_cxx_try_compile "$LINENO"; then :
33910 glibcxx_cv_func__isnanf_use=yes
33912 glibcxx_cv_func__isnanf_use=no
33914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33916 ac_cpp='$CPP $CPPFLAGS'
33917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33926 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33928 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33929 for ac_func in _isnanf
33931 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33932 if test "x$ac_cv_func__isnanf" = x""yes; then :
33933 cat >>confdefs.h <<_ACEOF
33934 #define HAVE__ISNANF 1
33947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33948 $as_echo_n "checking for isinff declaration... " >&6; }
33949 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33950 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33951 $as_echo_n "(cached) " >&6
33956 ac_cpp='$CXXCPP $CPPFLAGS'
33957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33962 /* end confdefs.h. */
33964 #ifdef HAVE_IEEEFP_H
33965 #include <ieeefp.h>
33976 if ac_fn_cxx_try_compile "$LINENO"; then :
33977 glibcxx_cv_func_isinff_use=yes
33979 glibcxx_cv_func_isinff_use=no
33981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33983 ac_cpp='$CPP $CPPFLAGS'
33984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33993 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33995 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33996 for ac_func in isinff
33998 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33999 if test "x$ac_cv_func_isinff" = x""yes; then :
34000 cat >>confdefs.h <<_ACEOF
34001 #define HAVE_ISINFF 1
34009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34010 $as_echo_n "checking for _isinff declaration... " >&6; }
34011 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34012 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34013 $as_echo_n "(cached) " >&6
34018 ac_cpp='$CXXCPP $CPPFLAGS'
34019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34026 #ifdef HAVE_IEEEFP_H
34027 #include <ieeefp.h>
34038 if ac_fn_cxx_try_compile "$LINENO"; then :
34039 glibcxx_cv_func__isinff_use=yes
34041 glibcxx_cv_func__isinff_use=no
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34055 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34057 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34058 for ac_func in _isinff
34060 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34061 if test "x$ac_cv_func__isinff" = x""yes; then :
34062 cat >>confdefs.h <<_ACEOF
34063 #define HAVE__ISINFF 1
34076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34077 $as_echo_n "checking for atan2f declaration... " >&6; }
34078 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34079 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34080 $as_echo_n "(cached) " >&6
34085 ac_cpp='$CXXCPP $CPPFLAGS'
34086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34091 /* end confdefs.h. */
34101 if ac_fn_cxx_try_compile "$LINENO"; then :
34102 glibcxx_cv_func_atan2f_use=yes
34104 glibcxx_cv_func_atan2f_use=no
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34108 ac_cpp='$CPP $CPPFLAGS'
34109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34118 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34120 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34121 for ac_func in atan2f
34123 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34124 if test "x$ac_cv_func_atan2f" = x""yes; then :
34125 cat >>confdefs.h <<_ACEOF
34126 #define HAVE_ATAN2F 1
34134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34135 $as_echo_n "checking for _atan2f declaration... " >&6; }
34136 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34137 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34138 $as_echo_n "(cached) " >&6
34143 ac_cpp='$CXXCPP $CPPFLAGS'
34144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34149 /* end confdefs.h. */
34159 if ac_fn_cxx_try_compile "$LINENO"; then :
34160 glibcxx_cv_func__atan2f_use=yes
34162 glibcxx_cv_func__atan2f_use=no
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34176 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34178 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34179 for ac_func in _atan2f
34181 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34182 if test "x$ac_cv_func__atan2f" = x""yes; then :
34183 cat >>confdefs.h <<_ACEOF
34184 #define HAVE__ATAN2F 1
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34198 $as_echo_n "checking for fabsf declaration... " >&6; }
34199 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34200 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34201 $as_echo_n "(cached) " >&6
34206 ac_cpp='$CXXCPP $CPPFLAGS'
34207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34212 /* end confdefs.h. */
34214 #ifdef HAVE_IEEEFP_H
34215 #include <ieeefp.h>
34226 if ac_fn_cxx_try_compile "$LINENO"; then :
34227 glibcxx_cv_func_fabsf_use=yes
34229 glibcxx_cv_func_fabsf_use=no
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34233 ac_cpp='$CPP $CPPFLAGS'
34234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34243 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34245 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34246 for ac_func in fabsf
34248 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34249 if test "x$ac_cv_func_fabsf" = x""yes; then :
34250 cat >>confdefs.h <<_ACEOF
34251 #define HAVE_FABSF 1
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34260 $as_echo_n "checking for _fabsf declaration... " >&6; }
34261 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34262 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34263 $as_echo_n "(cached) " >&6
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34276 #ifdef HAVE_IEEEFP_H
34277 #include <ieeefp.h>
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func__fabsf_use=yes
34291 glibcxx_cv_func__fabsf_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34305 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34307 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34308 for ac_func in _fabsf
34310 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34311 if test "x$ac_cv_func__fabsf" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE__FABSF 1
34326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34327 $as_echo_n "checking for fmodf declaration... " >&6; }
34328 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34329 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34330 $as_echo_n "(cached) " >&6
34335 ac_cpp='$CXXCPP $CPPFLAGS'
34336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34341 /* end confdefs.h. */
34351 if ac_fn_cxx_try_compile "$LINENO"; then :
34352 glibcxx_cv_func_fmodf_use=yes
34354 glibcxx_cv_func_fmodf_use=no
34356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34358 ac_cpp='$CPP $CPPFLAGS'
34359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34368 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34370 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34371 for ac_func in fmodf
34373 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34374 if test "x$ac_cv_func_fmodf" = x""yes; then :
34375 cat >>confdefs.h <<_ACEOF
34376 #define HAVE_FMODF 1
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34385 $as_echo_n "checking for _fmodf declaration... " >&6; }
34386 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34387 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34388 $as_echo_n "(cached) " >&6
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h. */
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410 glibcxx_cv_func__fmodf_use=yes
34412 glibcxx_cv_func__fmodf_use=no
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34426 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34428 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34429 for ac_func in _fmodf
34431 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34432 if test "x$ac_cv_func__fmodf" = x""yes; then :
34433 cat >>confdefs.h <<_ACEOF
34434 #define HAVE__FMODF 1
34447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34448 $as_echo_n "checking for frexpf declaration... " >&6; }
34449 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34450 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34451 $as_echo_n "(cached) " >&6
34456 ac_cpp='$CXXCPP $CPPFLAGS'
34457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34462 /* end confdefs.h. */
34472 if ac_fn_cxx_try_compile "$LINENO"; then :
34473 glibcxx_cv_func_frexpf_use=yes
34475 glibcxx_cv_func_frexpf_use=no
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34479 ac_cpp='$CPP $CPPFLAGS'
34480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34489 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34491 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34492 for ac_func in frexpf
34494 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34495 if test "x$ac_cv_func_frexpf" = x""yes; then :
34496 cat >>confdefs.h <<_ACEOF
34497 #define HAVE_FREXPF 1
34505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34506 $as_echo_n "checking for _frexpf declaration... " >&6; }
34507 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34508 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34509 $as_echo_n "(cached) " >&6
34514 ac_cpp='$CXXCPP $CPPFLAGS'
34515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h. */
34530 if ac_fn_cxx_try_compile "$LINENO"; then :
34531 glibcxx_cv_func__frexpf_use=yes
34533 glibcxx_cv_func__frexpf_use=no
34535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34547 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34549 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34550 for ac_func in _frexpf
34552 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34553 if test "x$ac_cv_func__frexpf" = x""yes; then :
34554 cat >>confdefs.h <<_ACEOF
34555 #define HAVE__FREXPF 1
34568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34569 $as_echo_n "checking for hypotf declaration... " >&6; }
34570 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34571 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34572 $as_echo_n "(cached) " >&6
34577 ac_cpp='$CXXCPP $CPPFLAGS'
34578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34583 /* end confdefs.h. */
34593 if ac_fn_cxx_try_compile "$LINENO"; then :
34594 glibcxx_cv_func_hypotf_use=yes
34596 glibcxx_cv_func_hypotf_use=no
34598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34600 ac_cpp='$CPP $CPPFLAGS'
34601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34610 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34612 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34613 for ac_func in hypotf
34615 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34616 if test "x$ac_cv_func_hypotf" = x""yes; then :
34617 cat >>confdefs.h <<_ACEOF
34618 #define HAVE_HYPOTF 1
34626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34627 $as_echo_n "checking for _hypotf declaration... " >&6; }
34628 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34629 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34630 $as_echo_n "(cached) " >&6
34635 ac_cpp='$CXXCPP $CPPFLAGS'
34636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34641 /* end confdefs.h. */
34651 if ac_fn_cxx_try_compile "$LINENO"; then :
34652 glibcxx_cv_func__hypotf_use=yes
34654 glibcxx_cv_func__hypotf_use=no
34656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34658 ac_cpp='$CPP $CPPFLAGS'
34659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34668 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34670 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34671 for ac_func in _hypotf
34673 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34674 if test "x$ac_cv_func__hypotf" = x""yes; then :
34675 cat >>confdefs.h <<_ACEOF
34676 #define HAVE__HYPOTF 1
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34690 $as_echo_n "checking for ldexpf declaration... " >&6; }
34691 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34692 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34693 $as_echo_n "(cached) " >&6
34698 ac_cpp='$CXXCPP $CPPFLAGS'
34699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34704 /* end confdefs.h. */
34714 if ac_fn_cxx_try_compile "$LINENO"; then :
34715 glibcxx_cv_func_ldexpf_use=yes
34717 glibcxx_cv_func_ldexpf_use=no
34719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721 ac_cpp='$CPP $CPPFLAGS'
34722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34731 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34733 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34734 for ac_func in ldexpf
34736 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34737 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34738 cat >>confdefs.h <<_ACEOF
34739 #define HAVE_LDEXPF 1
34747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34748 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34749 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34750 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34751 $as_echo_n "(cached) " >&6
34756 ac_cpp='$CXXCPP $CPPFLAGS'
34757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34762 /* end confdefs.h. */
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func__ldexpf_use=yes
34775 glibcxx_cv_func__ldexpf_use=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34789 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34791 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34792 for ac_func in _ldexpf
34794 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34795 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE__LDEXPF 1
34810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34811 $as_echo_n "checking for logf declaration... " >&6; }
34812 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34813 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34814 $as_echo_n "(cached) " >&6
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 /* end confdefs.h. */
34827 #ifdef HAVE_IEEEFP_H
34828 #include <ieeefp.h>
34839 if ac_fn_cxx_try_compile "$LINENO"; then :
34840 glibcxx_cv_func_logf_use=yes
34842 glibcxx_cv_func_logf_use=no
34844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34856 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34858 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34859 for ac_func in logf
34861 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34862 if test "x$ac_cv_func_logf" = x""yes; then :
34863 cat >>confdefs.h <<_ACEOF
34864 #define HAVE_LOGF 1
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34873 $as_echo_n "checking for _logf declaration... " >&6; }
34874 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34875 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34876 $as_echo_n "(cached) " >&6
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h. */
34889 #ifdef HAVE_IEEEFP_H
34890 #include <ieeefp.h>
34901 if ac_fn_cxx_try_compile "$LINENO"; then :
34902 glibcxx_cv_func__logf_use=yes
34904 glibcxx_cv_func__logf_use=no
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34918 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34920 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34921 for ac_func in _logf
34923 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34924 if test "x$ac_cv_func__logf" = x""yes; then :
34925 cat >>confdefs.h <<_ACEOF
34926 #define HAVE__LOGF 1
34939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34940 $as_echo_n "checking for log10f declaration... " >&6; }
34941 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34942 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34943 $as_echo_n "(cached) " >&6
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34954 /* end confdefs.h. */
34956 #ifdef HAVE_IEEEFP_H
34957 #include <ieeefp.h>
34968 if ac_fn_cxx_try_compile "$LINENO"; then :
34969 glibcxx_cv_func_log10f_use=yes
34971 glibcxx_cv_func_log10f_use=no
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34985 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34987 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34988 for ac_func in log10f
34990 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34991 if test "x$ac_cv_func_log10f" = x""yes; then :
34992 cat >>confdefs.h <<_ACEOF
34993 #define HAVE_LOG10F 1
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35002 $as_echo_n "checking for _log10f declaration... " >&6; }
35003 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35004 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35005 $as_echo_n "(cached) " >&6
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35016 /* end confdefs.h. */
35018 #ifdef HAVE_IEEEFP_H
35019 #include <ieeefp.h>
35030 if ac_fn_cxx_try_compile "$LINENO"; then :
35031 glibcxx_cv_func__log10f_use=yes
35033 glibcxx_cv_func__log10f_use=no
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35037 ac_cpp='$CPP $CPPFLAGS'
35038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35047 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35049 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35050 for ac_func in _log10f
35052 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35053 if test "x$ac_cv_func__log10f" = x""yes; then :
35054 cat >>confdefs.h <<_ACEOF
35055 #define HAVE__LOG10F 1
35068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35069 $as_echo_n "checking for modff declaration... " >&6; }
35070 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35071 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35072 $as_echo_n "(cached) " >&6
35077 ac_cpp='$CXXCPP $CPPFLAGS'
35078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35083 /* end confdefs.h. */
35093 if ac_fn_cxx_try_compile "$LINENO"; then :
35094 glibcxx_cv_func_modff_use=yes
35096 glibcxx_cv_func_modff_use=no
35098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35100 ac_cpp='$CPP $CPPFLAGS'
35101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35110 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35112 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35113 for ac_func in modff
35115 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35116 if test "x$ac_cv_func_modff" = x""yes; then :
35117 cat >>confdefs.h <<_ACEOF
35118 #define HAVE_MODFF 1
35126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35127 $as_echo_n "checking for _modff declaration... " >&6; }
35128 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35129 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35130 $as_echo_n "(cached) " >&6
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35141 /* end confdefs.h. */
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152 glibcxx_cv_func__modff_use=yes
35154 glibcxx_cv_func__modff_use=no
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35168 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35170 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35171 for ac_func in _modff
35173 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35174 if test "x$ac_cv_func__modff" = x""yes; then :
35175 cat >>confdefs.h <<_ACEOF
35176 #define HAVE__MODFF 1
35189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35190 $as_echo_n "checking for modf declaration... " >&6; }
35191 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35192 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35193 $as_echo_n "(cached) " >&6
35198 ac_cpp='$CXXCPP $CPPFLAGS'
35199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35204 /* end confdefs.h. */
35214 if ac_fn_cxx_try_compile "$LINENO"; then :
35215 glibcxx_cv_func_modf_use=yes
35217 glibcxx_cv_func_modf_use=no
35219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35221 ac_cpp='$CPP $CPPFLAGS'
35222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35231 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35233 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35234 for ac_func in modf
35236 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35237 if test "x$ac_cv_func_modf" = x""yes; then :
35238 cat >>confdefs.h <<_ACEOF
35239 #define HAVE_MODF 1
35247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35248 $as_echo_n "checking for _modf declaration... " >&6; }
35249 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35250 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35251 $as_echo_n "(cached) " >&6
35256 ac_cpp='$CXXCPP $CPPFLAGS'
35257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35262 /* end confdefs.h. */
35272 if ac_fn_cxx_try_compile "$LINENO"; then :
35273 glibcxx_cv_func__modf_use=yes
35275 glibcxx_cv_func__modf_use=no
35277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35279 ac_cpp='$CPP $CPPFLAGS'
35280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35289 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35291 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35292 for ac_func in _modf
35294 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35295 if test "x$ac_cv_func__modf" = x""yes; then :
35296 cat >>confdefs.h <<_ACEOF
35297 #define HAVE__MODF 1
35310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35311 $as_echo_n "checking for powf declaration... " >&6; }
35312 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35313 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35314 $as_echo_n "(cached) " >&6
35319 ac_cpp='$CXXCPP $CPPFLAGS'
35320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35325 /* end confdefs.h. */
35335 if ac_fn_cxx_try_compile "$LINENO"; then :
35336 glibcxx_cv_func_powf_use=yes
35338 glibcxx_cv_func_powf_use=no
35340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35352 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35354 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35355 for ac_func in powf
35357 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35358 if test "x$ac_cv_func_powf" = x""yes; then :
35359 cat >>confdefs.h <<_ACEOF
35360 #define HAVE_POWF 1
35368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35369 $as_echo_n "checking for _powf declaration... " >&6; }
35370 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35371 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35372 $as_echo_n "(cached) " >&6
35377 ac_cpp='$CXXCPP $CPPFLAGS'
35378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35383 /* end confdefs.h. */
35393 if ac_fn_cxx_try_compile "$LINENO"; then :
35394 glibcxx_cv_func__powf_use=yes
35396 glibcxx_cv_func__powf_use=no
35398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35410 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35412 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35413 for ac_func in _powf
35415 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35416 if test "x$ac_cv_func__powf" = x""yes; then :
35417 cat >>confdefs.h <<_ACEOF
35418 #define HAVE__POWF 1
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35432 $as_echo_n "checking for sqrtf declaration... " >&6; }
35433 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35434 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35435 $as_echo_n "(cached) " >&6
35440 ac_cpp='$CXXCPP $CPPFLAGS'
35441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 /* end confdefs.h. */
35448 #ifdef HAVE_IEEEFP_H
35449 #include <ieeefp.h>
35460 if ac_fn_cxx_try_compile "$LINENO"; then :
35461 glibcxx_cv_func_sqrtf_use=yes
35463 glibcxx_cv_func_sqrtf_use=no
35465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35467 ac_cpp='$CPP $CPPFLAGS'
35468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35477 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35479 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35480 for ac_func in sqrtf
35482 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35483 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35484 cat >>confdefs.h <<_ACEOF
35485 #define HAVE_SQRTF 1
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35494 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35495 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35496 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35497 $as_echo_n "(cached) " >&6
35502 ac_cpp='$CXXCPP $CPPFLAGS'
35503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35508 /* end confdefs.h. */
35510 #ifdef HAVE_IEEEFP_H
35511 #include <ieeefp.h>
35522 if ac_fn_cxx_try_compile "$LINENO"; then :
35523 glibcxx_cv_func__sqrtf_use=yes
35525 glibcxx_cv_func__sqrtf_use=no
35527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529 ac_cpp='$CPP $CPPFLAGS'
35530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35539 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35541 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35542 for ac_func in _sqrtf
35544 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35545 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35546 cat >>confdefs.h <<_ACEOF
35547 #define HAVE__SQRTF 1
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35561 $as_echo_n "checking for sincosf declaration... " >&6; }
35562 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35563 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35564 $as_echo_n "(cached) " >&6
35569 ac_cpp='$CXXCPP $CPPFLAGS'
35570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35575 /* end confdefs.h. */
35585 if ac_fn_cxx_try_compile "$LINENO"; then :
35586 glibcxx_cv_func_sincosf_use=yes
35588 glibcxx_cv_func_sincosf_use=no
35590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35592 ac_cpp='$CPP $CPPFLAGS'
35593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35602 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35604 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35605 for ac_func in sincosf
35607 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35608 if test "x$ac_cv_func_sincosf" = x""yes; then :
35609 cat >>confdefs.h <<_ACEOF
35610 #define HAVE_SINCOSF 1
35618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35619 $as_echo_n "checking for _sincosf declaration... " >&6; }
35620 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35621 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35622 $as_echo_n "(cached) " >&6
35627 ac_cpp='$CXXCPP $CPPFLAGS'
35628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35633 /* end confdefs.h. */
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644 glibcxx_cv_func__sincosf_use=yes
35646 glibcxx_cv_func__sincosf_use=no
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35660 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35662 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35663 for ac_func in _sincosf
35665 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35666 if test "x$ac_cv_func__sincosf" = x""yes; then :
35667 cat >>confdefs.h <<_ACEOF
35668 #define HAVE__SINCOSF 1
35681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35682 $as_echo_n "checking for finitef declaration... " >&6; }
35683 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35684 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35685 $as_echo_n "(cached) " >&6
35690 ac_cpp='$CXXCPP $CPPFLAGS'
35691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35696 /* end confdefs.h. */
35698 #ifdef HAVE_IEEEFP_H
35699 #include <ieeefp.h>
35710 if ac_fn_cxx_try_compile "$LINENO"; then :
35711 glibcxx_cv_func_finitef_use=yes
35713 glibcxx_cv_func_finitef_use=no
35715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35717 ac_cpp='$CPP $CPPFLAGS'
35718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35727 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35729 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35730 for ac_func in finitef
35732 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35733 if test "x$ac_cv_func_finitef" = x""yes; then :
35734 cat >>confdefs.h <<_ACEOF
35735 #define HAVE_FINITEF 1
35743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35744 $as_echo_n "checking for _finitef declaration... " >&6; }
35745 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35746 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35747 $as_echo_n "(cached) " >&6
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35758 /* end confdefs.h. */
35760 #ifdef HAVE_IEEEFP_H
35761 #include <ieeefp.h>
35772 if ac_fn_cxx_try_compile "$LINENO"; then :
35773 glibcxx_cv_func__finitef_use=yes
35775 glibcxx_cv_func__finitef_use=no
35777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35779 ac_cpp='$CPP $CPPFLAGS'
35780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35789 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35791 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35792 for ac_func in _finitef
35794 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35795 if test "x$ac_cv_func__finitef" = x""yes; then :
35796 cat >>confdefs.h <<_ACEOF
35797 #define HAVE__FINITEF 1
35810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35811 $as_echo_n "checking for long double trig functions... " >&6; }
35812 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35813 $as_echo_n "(cached) " >&6
35818 ac_cpp='$CXXCPP $CPPFLAGS'
35819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35824 /* end confdefs.h. */
35829 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35834 if ac_fn_cxx_try_compile "$LINENO"; then :
35835 glibcxx_cv_func_long_double_trig_use=yes
35837 glibcxx_cv_func_long_double_trig_use=no
35839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35841 ac_cpp='$CPP $CPPFLAGS'
35842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35849 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35850 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35851 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35855 eval as_val=\$$as_ac_var
35856 if test "x$as_val" = x""yes; then :
35857 cat >>confdefs.h <<_ACEOF
35858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35866 $as_echo_n "checking for _long double trig functions... " >&6; }
35867 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35868 $as_echo_n "(cached) " >&6
35873 ac_cpp='$CXXCPP $CPPFLAGS'
35874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35879 /* end confdefs.h. */
35884 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35889 if ac_fn_cxx_try_compile "$LINENO"; then :
35890 glibcxx_cv_func__long_double_trig_use=yes
35892 glibcxx_cv_func__long_double_trig_use=no
35894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35896 ac_cpp='$CPP $CPPFLAGS'
35897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35904 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35905 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35906 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35910 eval as_val=\$$as_ac_var
35911 if test "x$as_val" = x""yes; then :
35912 cat >>confdefs.h <<_ACEOF
35913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35927 $as_echo_n "checking for long double round functions... " >&6; }
35928 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35929 $as_echo_n "(cached) " >&6
35934 ac_cpp='$CXXCPP $CPPFLAGS'
35935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35940 /* end confdefs.h. */
35945 ceill (0); floorl (0);
35950 if ac_fn_cxx_try_compile "$LINENO"; then :
35951 glibcxx_cv_func_long_double_round_use=yes
35953 glibcxx_cv_func_long_double_round_use=no
35955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35965 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35966 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35967 for ac_func in ceill floorl
35969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35971 eval as_val=\$$as_ac_var
35972 if test "x$as_val" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35982 $as_echo_n "checking for _long double round functions... " >&6; }
35983 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35984 $as_echo_n "(cached) " >&6
35989 ac_cpp='$CXXCPP $CPPFLAGS'
35990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35995 /* end confdefs.h. */
36000 _ceill (0); _floorl (0);
36005 if ac_fn_cxx_try_compile "$LINENO"; then :
36006 glibcxx_cv_func__long_double_round_use=yes
36008 glibcxx_cv_func__long_double_round_use=no
36010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36012 ac_cpp='$CPP $CPPFLAGS'
36013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36020 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36021 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36022 for ac_func in _ceill _floorl
36024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36026 eval as_val=\$$as_ac_var
36027 if test "x$as_val" = x""yes; then :
36028 cat >>confdefs.h <<_ACEOF
36029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36044 $as_echo_n "checking for isnanl declaration... " >&6; }
36045 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36046 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36047 $as_echo_n "(cached) " >&6
36052 ac_cpp='$CXXCPP $CPPFLAGS'
36053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36058 /* end confdefs.h. */
36060 #ifdef HAVE_IEEEFP_H
36061 #include <ieeefp.h>
36072 if ac_fn_cxx_try_compile "$LINENO"; then :
36073 glibcxx_cv_func_isnanl_use=yes
36075 glibcxx_cv_func_isnanl_use=no
36077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36079 ac_cpp='$CPP $CPPFLAGS'
36080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36089 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36091 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36092 for ac_func in isnanl
36094 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36095 if test "x$ac_cv_func_isnanl" = x""yes; then :
36096 cat >>confdefs.h <<_ACEOF
36097 #define HAVE_ISNANL 1
36105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36106 $as_echo_n "checking for _isnanl declaration... " >&6; }
36107 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36108 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36109 $as_echo_n "(cached) " >&6
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120 /* end confdefs.h. */
36122 #ifdef HAVE_IEEEFP_H
36123 #include <ieeefp.h>
36134 if ac_fn_cxx_try_compile "$LINENO"; then :
36135 glibcxx_cv_func__isnanl_use=yes
36137 glibcxx_cv_func__isnanl_use=no
36139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36141 ac_cpp='$CPP $CPPFLAGS'
36142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36151 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36153 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36154 for ac_func in _isnanl
36156 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36157 if test "x$ac_cv_func__isnanl" = x""yes; then :
36158 cat >>confdefs.h <<_ACEOF
36159 #define HAVE__ISNANL 1
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36173 $as_echo_n "checking for isinfl declaration... " >&6; }
36174 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36175 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36176 $as_echo_n "(cached) " >&6
36181 ac_cpp='$CXXCPP $CPPFLAGS'
36182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36187 /* end confdefs.h. */
36189 #ifdef HAVE_IEEEFP_H
36190 #include <ieeefp.h>
36201 if ac_fn_cxx_try_compile "$LINENO"; then :
36202 glibcxx_cv_func_isinfl_use=yes
36204 glibcxx_cv_func_isinfl_use=no
36206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36208 ac_cpp='$CPP $CPPFLAGS'
36209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36218 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36220 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36221 for ac_func in isinfl
36223 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36224 if test "x$ac_cv_func_isinfl" = x""yes; then :
36225 cat >>confdefs.h <<_ACEOF
36226 #define HAVE_ISINFL 1
36234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36235 $as_echo_n "checking for _isinfl declaration... " >&6; }
36236 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36237 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36238 $as_echo_n "(cached) " >&6
36243 ac_cpp='$CXXCPP $CPPFLAGS'
36244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36249 /* end confdefs.h. */
36251 #ifdef HAVE_IEEEFP_H
36252 #include <ieeefp.h>
36263 if ac_fn_cxx_try_compile "$LINENO"; then :
36264 glibcxx_cv_func__isinfl_use=yes
36266 glibcxx_cv_func__isinfl_use=no
36268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36270 ac_cpp='$CPP $CPPFLAGS'
36271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36280 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36282 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36283 for ac_func in _isinfl
36285 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36286 if test "x$ac_cv_func__isinfl" = x""yes; then :
36287 cat >>confdefs.h <<_ACEOF
36288 #define HAVE__ISINFL 1
36301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36302 $as_echo_n "checking for atan2l declaration... " >&6; }
36303 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36304 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36305 $as_echo_n "(cached) " >&6
36310 ac_cpp='$CXXCPP $CPPFLAGS'
36311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36316 /* end confdefs.h. */
36326 if ac_fn_cxx_try_compile "$LINENO"; then :
36327 glibcxx_cv_func_atan2l_use=yes
36329 glibcxx_cv_func_atan2l_use=no
36331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36333 ac_cpp='$CPP $CPPFLAGS'
36334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36343 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36345 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36346 for ac_func in atan2l
36348 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36349 if test "x$ac_cv_func_atan2l" = x""yes; then :
36350 cat >>confdefs.h <<_ACEOF
36351 #define HAVE_ATAN2L 1
36359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36360 $as_echo_n "checking for _atan2l declaration... " >&6; }
36361 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36362 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36363 $as_echo_n "(cached) " >&6
36368 ac_cpp='$CXXCPP $CPPFLAGS'
36369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36374 /* end confdefs.h. */
36384 if ac_fn_cxx_try_compile "$LINENO"; then :
36385 glibcxx_cv_func__atan2l_use=yes
36387 glibcxx_cv_func__atan2l_use=no
36389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36401 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36403 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36404 for ac_func in _atan2l
36406 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36407 if test "x$ac_cv_func__atan2l" = x""yes; then :
36408 cat >>confdefs.h <<_ACEOF
36409 #define HAVE__ATAN2L 1
36422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36423 $as_echo_n "checking for expl declaration... " >&6; }
36424 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36425 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36426 $as_echo_n "(cached) " >&6
36431 ac_cpp='$CXXCPP $CPPFLAGS'
36432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36437 /* end confdefs.h. */
36439 #ifdef HAVE_IEEEFP_H
36440 #include <ieeefp.h>
36451 if ac_fn_cxx_try_compile "$LINENO"; then :
36452 glibcxx_cv_func_expl_use=yes
36454 glibcxx_cv_func_expl_use=no
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36458 ac_cpp='$CPP $CPPFLAGS'
36459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36468 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36470 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36471 for ac_func in expl
36473 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36474 if test "x$ac_cv_func_expl" = x""yes; then :
36475 cat >>confdefs.h <<_ACEOF
36476 #define HAVE_EXPL 1
36484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36485 $as_echo_n "checking for _expl declaration... " >&6; }
36486 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36487 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36488 $as_echo_n "(cached) " >&6
36493 ac_cpp='$CXXCPP $CPPFLAGS'
36494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36499 /* end confdefs.h. */
36501 #ifdef HAVE_IEEEFP_H
36502 #include <ieeefp.h>
36513 if ac_fn_cxx_try_compile "$LINENO"; then :
36514 glibcxx_cv_func__expl_use=yes
36516 glibcxx_cv_func__expl_use=no
36518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36520 ac_cpp='$CPP $CPPFLAGS'
36521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36530 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36532 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36533 for ac_func in _expl
36535 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36536 if test "x$ac_cv_func__expl" = x""yes; then :
36537 cat >>confdefs.h <<_ACEOF
36538 #define HAVE__EXPL 1
36551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36552 $as_echo_n "checking for fabsl declaration... " >&6; }
36553 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36554 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36555 $as_echo_n "(cached) " >&6
36560 ac_cpp='$CXXCPP $CPPFLAGS'
36561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36566 /* end confdefs.h. */
36568 #ifdef HAVE_IEEEFP_H
36569 #include <ieeefp.h>
36580 if ac_fn_cxx_try_compile "$LINENO"; then :
36581 glibcxx_cv_func_fabsl_use=yes
36583 glibcxx_cv_func_fabsl_use=no
36585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36587 ac_cpp='$CPP $CPPFLAGS'
36588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36597 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36599 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36600 for ac_func in fabsl
36602 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36603 if test "x$ac_cv_func_fabsl" = x""yes; then :
36604 cat >>confdefs.h <<_ACEOF
36605 #define HAVE_FABSL 1
36613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36614 $as_echo_n "checking for _fabsl declaration... " >&6; }
36615 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36616 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36617 $as_echo_n "(cached) " >&6
36622 ac_cpp='$CXXCPP $CPPFLAGS'
36623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36628 /* end confdefs.h. */
36630 #ifdef HAVE_IEEEFP_H
36631 #include <ieeefp.h>
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643 glibcxx_cv_func__fabsl_use=yes
36645 glibcxx_cv_func__fabsl_use=no
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36659 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36661 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36662 for ac_func in _fabsl
36664 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36665 if test "x$ac_cv_func__fabsl" = x""yes; then :
36666 cat >>confdefs.h <<_ACEOF
36667 #define HAVE__FABSL 1
36680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36681 $as_echo_n "checking for fmodl declaration... " >&6; }
36682 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36683 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36684 $as_echo_n "(cached) " >&6
36689 ac_cpp='$CXXCPP $CPPFLAGS'
36690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36695 /* end confdefs.h. */
36705 if ac_fn_cxx_try_compile "$LINENO"; then :
36706 glibcxx_cv_func_fmodl_use=yes
36708 glibcxx_cv_func_fmodl_use=no
36710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36712 ac_cpp='$CPP $CPPFLAGS'
36713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36722 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36724 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36725 for ac_func in fmodl
36727 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36728 if test "x$ac_cv_func_fmodl" = x""yes; then :
36729 cat >>confdefs.h <<_ACEOF
36730 #define HAVE_FMODL 1
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36739 $as_echo_n "checking for _fmodl declaration... " >&6; }
36740 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36741 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36742 $as_echo_n "(cached) " >&6
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h. */
36763 if ac_fn_cxx_try_compile "$LINENO"; then :
36764 glibcxx_cv_func__fmodl_use=yes
36766 glibcxx_cv_func__fmodl_use=no
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36770 ac_cpp='$CPP $CPPFLAGS'
36771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36780 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36782 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36783 for ac_func in _fmodl
36785 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36786 if test "x$ac_cv_func__fmodl" = x""yes; then :
36787 cat >>confdefs.h <<_ACEOF
36788 #define HAVE__FMODL 1
36801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36802 $as_echo_n "checking for frexpl declaration... " >&6; }
36803 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36804 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36805 $as_echo_n "(cached) " >&6
36810 ac_cpp='$CXXCPP $CPPFLAGS'
36811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36816 /* end confdefs.h. */
36826 if ac_fn_cxx_try_compile "$LINENO"; then :
36827 glibcxx_cv_func_frexpl_use=yes
36829 glibcxx_cv_func_frexpl_use=no
36831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36833 ac_cpp='$CPP $CPPFLAGS'
36834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36843 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36845 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36846 for ac_func in frexpl
36848 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36849 if test "x$ac_cv_func_frexpl" = x""yes; then :
36850 cat >>confdefs.h <<_ACEOF
36851 #define HAVE_FREXPL 1
36859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36860 $as_echo_n "checking for _frexpl declaration... " >&6; }
36861 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36862 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36863 $as_echo_n "(cached) " >&6
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36874 /* end confdefs.h. */
36884 if ac_fn_cxx_try_compile "$LINENO"; then :
36885 glibcxx_cv_func__frexpl_use=yes
36887 glibcxx_cv_func__frexpl_use=no
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36891 ac_cpp='$CPP $CPPFLAGS'
36892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36901 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36903 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36904 for ac_func in _frexpl
36906 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36907 if test "x$ac_cv_func__frexpl" = x""yes; then :
36908 cat >>confdefs.h <<_ACEOF
36909 #define HAVE__FREXPL 1
36922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36923 $as_echo_n "checking for hypotl declaration... " >&6; }
36924 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36925 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36926 $as_echo_n "(cached) " >&6
36931 ac_cpp='$CXXCPP $CPPFLAGS'
36932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36937 /* end confdefs.h. */
36947 if ac_fn_cxx_try_compile "$LINENO"; then :
36948 glibcxx_cv_func_hypotl_use=yes
36950 glibcxx_cv_func_hypotl_use=no
36952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36954 ac_cpp='$CPP $CPPFLAGS'
36955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36964 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36966 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36967 for ac_func in hypotl
36969 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36970 if test "x$ac_cv_func_hypotl" = x""yes; then :
36971 cat >>confdefs.h <<_ACEOF
36972 #define HAVE_HYPOTL 1
36980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36981 $as_echo_n "checking for _hypotl declaration... " >&6; }
36982 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36983 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36984 $as_echo_n "(cached) " >&6
36989 ac_cpp='$CXXCPP $CPPFLAGS'
36990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995 /* end confdefs.h. */
37005 if ac_fn_cxx_try_compile "$LINENO"; then :
37006 glibcxx_cv_func__hypotl_use=yes
37008 glibcxx_cv_func__hypotl_use=no
37010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37012 ac_cpp='$CPP $CPPFLAGS'
37013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37022 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37024 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37025 for ac_func in _hypotl
37027 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37028 if test "x$ac_cv_func__hypotl" = x""yes; then :
37029 cat >>confdefs.h <<_ACEOF
37030 #define HAVE__HYPOTL 1
37043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37044 $as_echo_n "checking for ldexpl declaration... " >&6; }
37045 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37046 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37047 $as_echo_n "(cached) " >&6
37052 ac_cpp='$CXXCPP $CPPFLAGS'
37053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37058 /* end confdefs.h. */
37068 if ac_fn_cxx_try_compile "$LINENO"; then :
37069 glibcxx_cv_func_ldexpl_use=yes
37071 glibcxx_cv_func_ldexpl_use=no
37073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37075 ac_cpp='$CPP $CPPFLAGS'
37076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37085 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37087 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37088 for ac_func in ldexpl
37090 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37091 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37092 cat >>confdefs.h <<_ACEOF
37093 #define HAVE_LDEXPL 1
37101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37102 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37103 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37104 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37105 $as_echo_n "(cached) " >&6
37110 ac_cpp='$CXXCPP $CPPFLAGS'
37111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37116 /* end confdefs.h. */
37126 if ac_fn_cxx_try_compile "$LINENO"; then :
37127 glibcxx_cv_func__ldexpl_use=yes
37129 glibcxx_cv_func__ldexpl_use=no
37131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37133 ac_cpp='$CPP $CPPFLAGS'
37134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37143 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37145 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37146 for ac_func in _ldexpl
37148 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37149 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37150 cat >>confdefs.h <<_ACEOF
37151 #define HAVE__LDEXPL 1
37164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37165 $as_echo_n "checking for logl declaration... " >&6; }
37166 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37167 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37168 $as_echo_n "(cached) " >&6
37173 ac_cpp='$CXXCPP $CPPFLAGS'
37174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37179 /* end confdefs.h. */
37181 #ifdef HAVE_IEEEFP_H
37182 #include <ieeefp.h>
37193 if ac_fn_cxx_try_compile "$LINENO"; then :
37194 glibcxx_cv_func_logl_use=yes
37196 glibcxx_cv_func_logl_use=no
37198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37200 ac_cpp='$CPP $CPPFLAGS'
37201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37210 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37212 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37213 for ac_func in logl
37215 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37216 if test "x$ac_cv_func_logl" = x""yes; then :
37217 cat >>confdefs.h <<_ACEOF
37218 #define HAVE_LOGL 1
37226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37227 $as_echo_n "checking for _logl declaration... " >&6; }
37228 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37229 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37230 $as_echo_n "(cached) " >&6
37235 ac_cpp='$CXXCPP $CPPFLAGS'
37236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37241 /* end confdefs.h. */
37243 #ifdef HAVE_IEEEFP_H
37244 #include <ieeefp.h>
37255 if ac_fn_cxx_try_compile "$LINENO"; then :
37256 glibcxx_cv_func__logl_use=yes
37258 glibcxx_cv_func__logl_use=no
37260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37262 ac_cpp='$CPP $CPPFLAGS'
37263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37272 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37274 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37275 for ac_func in _logl
37277 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37278 if test "x$ac_cv_func__logl" = x""yes; then :
37279 cat >>confdefs.h <<_ACEOF
37280 #define HAVE__LOGL 1
37293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37294 $as_echo_n "checking for log10l declaration... " >&6; }
37295 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37296 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37297 $as_echo_n "(cached) " >&6
37302 ac_cpp='$CXXCPP $CPPFLAGS'
37303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37308 /* end confdefs.h. */
37310 #ifdef HAVE_IEEEFP_H
37311 #include <ieeefp.h>
37322 if ac_fn_cxx_try_compile "$LINENO"; then :
37323 glibcxx_cv_func_log10l_use=yes
37325 glibcxx_cv_func_log10l_use=no
37327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37329 ac_cpp='$CPP $CPPFLAGS'
37330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37339 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37341 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37342 for ac_func in log10l
37344 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37345 if test "x$ac_cv_func_log10l" = x""yes; then :
37346 cat >>confdefs.h <<_ACEOF
37347 #define HAVE_LOG10L 1
37355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37356 $as_echo_n "checking for _log10l declaration... " >&6; }
37357 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37358 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37359 $as_echo_n "(cached) " >&6
37364 ac_cpp='$CXXCPP $CPPFLAGS'
37365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37370 /* end confdefs.h. */
37372 #ifdef HAVE_IEEEFP_H
37373 #include <ieeefp.h>
37384 if ac_fn_cxx_try_compile "$LINENO"; then :
37385 glibcxx_cv_func__log10l_use=yes
37387 glibcxx_cv_func__log10l_use=no
37389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37391 ac_cpp='$CPP $CPPFLAGS'
37392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37401 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37403 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37404 for ac_func in _log10l
37406 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37407 if test "x$ac_cv_func__log10l" = x""yes; then :
37408 cat >>confdefs.h <<_ACEOF
37409 #define HAVE__LOG10L 1
37422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37423 $as_echo_n "checking for modfl declaration... " >&6; }
37424 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37425 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37426 $as_echo_n "(cached) " >&6
37431 ac_cpp='$CXXCPP $CPPFLAGS'
37432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37437 /* end confdefs.h. */
37447 if ac_fn_cxx_try_compile "$LINENO"; then :
37448 glibcxx_cv_func_modfl_use=yes
37450 glibcxx_cv_func_modfl_use=no
37452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37454 ac_cpp='$CPP $CPPFLAGS'
37455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37464 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37466 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37467 for ac_func in modfl
37469 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37470 if test "x$ac_cv_func_modfl" = x""yes; then :
37471 cat >>confdefs.h <<_ACEOF
37472 #define HAVE_MODFL 1
37480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37481 $as_echo_n "checking for _modfl declaration... " >&6; }
37482 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37483 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37484 $as_echo_n "(cached) " >&6
37489 ac_cpp='$CXXCPP $CPPFLAGS'
37490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37495 /* end confdefs.h. */
37505 if ac_fn_cxx_try_compile "$LINENO"; then :
37506 glibcxx_cv_func__modfl_use=yes
37508 glibcxx_cv_func__modfl_use=no
37510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37512 ac_cpp='$CPP $CPPFLAGS'
37513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37522 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37524 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37525 for ac_func in _modfl
37527 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37528 if test "x$ac_cv_func__modfl" = x""yes; then :
37529 cat >>confdefs.h <<_ACEOF
37530 #define HAVE__MODFL 1
37543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37544 $as_echo_n "checking for powl declaration... " >&6; }
37545 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37546 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37547 $as_echo_n "(cached) " >&6
37552 ac_cpp='$CXXCPP $CPPFLAGS'
37553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37558 /* end confdefs.h. */
37568 if ac_fn_cxx_try_compile "$LINENO"; then :
37569 glibcxx_cv_func_powl_use=yes
37571 glibcxx_cv_func_powl_use=no
37573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37575 ac_cpp='$CPP $CPPFLAGS'
37576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37585 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37587 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37588 for ac_func in powl
37590 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37591 if test "x$ac_cv_func_powl" = x""yes; then :
37592 cat >>confdefs.h <<_ACEOF
37593 #define HAVE_POWL 1
37601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37602 $as_echo_n "checking for _powl declaration... " >&6; }
37603 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37604 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37605 $as_echo_n "(cached) " >&6
37610 ac_cpp='$CXXCPP $CPPFLAGS'
37611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37616 /* end confdefs.h. */
37626 if ac_fn_cxx_try_compile "$LINENO"; then :
37627 glibcxx_cv_func__powl_use=yes
37629 glibcxx_cv_func__powl_use=no
37631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37633 ac_cpp='$CPP $CPPFLAGS'
37634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37643 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37645 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37646 for ac_func in _powl
37648 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37649 if test "x$ac_cv_func__powl" = x""yes; then :
37650 cat >>confdefs.h <<_ACEOF
37651 #define HAVE__POWL 1
37664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37665 $as_echo_n "checking for sqrtl declaration... " >&6; }
37666 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37667 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37668 $as_echo_n "(cached) " >&6
37673 ac_cpp='$CXXCPP $CPPFLAGS'
37674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37679 /* end confdefs.h. */
37681 #ifdef HAVE_IEEEFP_H
37682 #include <ieeefp.h>
37693 if ac_fn_cxx_try_compile "$LINENO"; then :
37694 glibcxx_cv_func_sqrtl_use=yes
37696 glibcxx_cv_func_sqrtl_use=no
37698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37700 ac_cpp='$CPP $CPPFLAGS'
37701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37710 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37712 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37713 for ac_func in sqrtl
37715 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37716 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37717 cat >>confdefs.h <<_ACEOF
37718 #define HAVE_SQRTL 1
37726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37727 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37728 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37729 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37730 $as_echo_n "(cached) " >&6
37735 ac_cpp='$CXXCPP $CPPFLAGS'
37736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37741 /* end confdefs.h. */
37743 #ifdef HAVE_IEEEFP_H
37744 #include <ieeefp.h>
37755 if ac_fn_cxx_try_compile "$LINENO"; then :
37756 glibcxx_cv_func__sqrtl_use=yes
37758 glibcxx_cv_func__sqrtl_use=no
37760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37762 ac_cpp='$CPP $CPPFLAGS'
37763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37772 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37774 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37775 for ac_func in _sqrtl
37777 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37778 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37779 cat >>confdefs.h <<_ACEOF
37780 #define HAVE__SQRTL 1
37793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37794 $as_echo_n "checking for sincosl declaration... " >&6; }
37795 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37796 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37797 $as_echo_n "(cached) " >&6
37802 ac_cpp='$CXXCPP $CPPFLAGS'
37803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37808 /* end confdefs.h. */
37818 if ac_fn_cxx_try_compile "$LINENO"; then :
37819 glibcxx_cv_func_sincosl_use=yes
37821 glibcxx_cv_func_sincosl_use=no
37823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37825 ac_cpp='$CPP $CPPFLAGS'
37826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37835 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37837 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37838 for ac_func in sincosl
37840 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37841 if test "x$ac_cv_func_sincosl" = x""yes; then :
37842 cat >>confdefs.h <<_ACEOF
37843 #define HAVE_SINCOSL 1
37851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37852 $as_echo_n "checking for _sincosl declaration... " >&6; }
37853 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37854 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37855 $as_echo_n "(cached) " >&6
37860 ac_cpp='$CXXCPP $CPPFLAGS'
37861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37866 /* end confdefs.h. */
37876 if ac_fn_cxx_try_compile "$LINENO"; then :
37877 glibcxx_cv_func__sincosl_use=yes
37879 glibcxx_cv_func__sincosl_use=no
37881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37893 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37895 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37896 for ac_func in _sincosl
37898 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37899 if test "x$ac_cv_func__sincosl" = x""yes; then :
37900 cat >>confdefs.h <<_ACEOF
37901 #define HAVE__SINCOSL 1
37914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37915 $as_echo_n "checking for finitel declaration... " >&6; }
37916 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37917 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37918 $as_echo_n "(cached) " >&6
37923 ac_cpp='$CXXCPP $CPPFLAGS'
37924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37929 /* end confdefs.h. */
37931 #ifdef HAVE_IEEEFP_H
37932 #include <ieeefp.h>
37943 if ac_fn_cxx_try_compile "$LINENO"; then :
37944 glibcxx_cv_func_finitel_use=yes
37946 glibcxx_cv_func_finitel_use=no
37948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37950 ac_cpp='$CPP $CPPFLAGS'
37951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37960 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37962 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37963 for ac_func in finitel
37965 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37966 if test "x$ac_cv_func_finitel" = x""yes; then :
37967 cat >>confdefs.h <<_ACEOF
37968 #define HAVE_FINITEL 1
37976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37977 $as_echo_n "checking for _finitel declaration... " >&6; }
37978 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37979 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37980 $as_echo_n "(cached) " >&6
37985 ac_cpp='$CXXCPP $CPPFLAGS'
37986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37991 /* end confdefs.h. */
37993 #ifdef HAVE_IEEEFP_H
37994 #include <ieeefp.h>
38005 if ac_fn_cxx_try_compile "$LINENO"; then :
38006 glibcxx_cv_func__finitel_use=yes
38008 glibcxx_cv_func__finitel_use=no
38010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38012 ac_cpp='$CPP $CPPFLAGS'
38013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38022 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38024 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38025 for ac_func in _finitel
38027 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38028 if test "x$ac_cv_func__finitel" = x""yes; then :
38029 cat >>confdefs.h <<_ACEOF
38030 #define HAVE__FINITEL 1
38042 LIBS="$ac_save_LIBS"
38043 CXXFLAGS="$ac_save_CXXFLAGS"
38046 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38047 ac_save_CXXFLAGS="$CXXFLAGS"
38048 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38052 $as_echo_n "checking for strtold declaration... " >&6; }
38053 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38054 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38055 $as_echo_n "(cached) " >&6
38060 ac_cpp='$CXXCPP $CPPFLAGS'
38061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38066 /* end confdefs.h. */
38067 #include <stdlib.h>
38076 if ac_fn_cxx_try_compile "$LINENO"; then :
38077 glibcxx_cv_func_strtold_use=yes
38079 glibcxx_cv_func_strtold_use=no
38081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38093 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38094 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38095 for ac_func in strtold
38097 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38098 if test "x$ac_cv_func_strtold" = x""yes; then :
38099 cat >>confdefs.h <<_ACEOF
38100 #define HAVE_STRTOLD 1
38111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38112 $as_echo_n "checking for strtof declaration... " >&6; }
38113 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38114 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38115 $as_echo_n "(cached) " >&6
38120 ac_cpp='$CXXCPP $CPPFLAGS'
38121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38126 /* end confdefs.h. */
38127 #include <stdlib.h>
38136 if ac_fn_cxx_try_compile "$LINENO"; then :
38137 glibcxx_cv_func_strtof_use=yes
38139 glibcxx_cv_func_strtof_use=no
38141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38143 ac_cpp='$CPP $CPPFLAGS'
38144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38153 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38154 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38155 for ac_func in strtof
38157 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38158 if test "x$ac_cv_func_strtof" = x""yes; then :
38159 cat >>confdefs.h <<_ACEOF
38160 #define HAVE_STRTOF 1
38171 CXXFLAGS="$ac_save_CXXFLAGS"
38173 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38175 # We don't yet support AIX's TLS ABI.
38182 am_save_CPPFLAGS="$CPPFLAGS"
38184 for element in $INCICONV; do
38186 for x in $CPPFLAGS; do
38188 acl_save_prefix="$prefix"
38189 prefix="$acl_final_prefix"
38190 acl_save_exec_prefix="$exec_prefix"
38191 exec_prefix="$acl_final_exec_prefix"
38193 exec_prefix="$acl_save_exec_prefix"
38194 prefix="$acl_save_prefix"
38196 if test "X$x" = "X$element"; then
38201 if test -z "$haveit"; then
38202 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38208 $as_echo_n "checking for iconv... " >&6; }
38209 if test "${am_cv_func_iconv+set}" = set; then :
38210 $as_echo_n "(cached) " >&6
38213 am_cv_func_iconv="no, consider installing GNU libiconv"
38215 if test x$gcc_no_link = xyes; then
38216 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38219 /* end confdefs.h. */
38220 #include <stdlib.h>
38225 iconv_t cd = iconv_open("","");
38226 iconv(cd,NULL,NULL,NULL,NULL);
38232 if ac_fn_c_try_link "$LINENO"; then :
38233 am_cv_func_iconv=yes
38235 rm -f core conftest.err conftest.$ac_objext \
38236 conftest$ac_exeext conftest.$ac_ext
38237 if test "$am_cv_func_iconv" != yes; then
38238 am_save_LIBS="$LIBS"
38239 LIBS="$LIBS $LIBICONV"
38240 if test x$gcc_no_link = xyes; then
38241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38244 /* end confdefs.h. */
38245 #include <stdlib.h>
38250 iconv_t cd = iconv_open("","");
38251 iconv(cd,NULL,NULL,NULL,NULL);
38257 if ac_fn_c_try_link "$LINENO"; then :
38258 am_cv_lib_iconv=yes
38259 am_cv_func_iconv=yes
38261 rm -f core conftest.err conftest.$ac_objext \
38262 conftest$ac_exeext conftest.$ac_ext
38263 LIBS="$am_save_LIBS"
38267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38268 $as_echo "$am_cv_func_iconv" >&6; }
38269 if test "$am_cv_func_iconv" = yes; then
38271 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38274 if test "$am_cv_lib_iconv" = yes; then
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38276 $as_echo_n "checking how to link with libiconv... " >&6; }
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38278 $as_echo "$LIBICONV" >&6; }
38280 CPPFLAGS="$am_save_CPPFLAGS"
38287 if test "$am_cv_func_iconv" = yes; then
38288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38289 $as_echo_n "checking for iconv declaration... " >&6; }
38290 if test "${am_cv_proto_iconv+set}" = set; then :
38291 $as_echo_n "(cached) " >&6
38294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295 /* end confdefs.h. */
38297 #include <stdlib.h>
38303 #if defined(__STDC__) || defined(__cplusplus)
38304 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38317 if ac_fn_c_try_compile "$LINENO"; then :
38318 am_cv_proto_iconv_arg1=""
38320 am_cv_proto_iconv_arg1="const"
38322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38323 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
38326 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38328 }$am_cv_proto_iconv" >&5
38330 }$am_cv_proto_iconv" >&6; }
38332 cat >>confdefs.h <<_ACEOF
38333 #define ICONV_CONST $am_cv_proto_iconv_arg1
38341 # Darwin versions vary, but the linker should work in a cross environment,
38342 # so we just check for all the features here.
38343 # Check for available headers.
38345 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38348 ac_save_CXXFLAGS="$CXXFLAGS"
38349 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38352 $as_echo_n "checking for sin in -lm... " >&6; }
38353 if test "${ac_cv_lib_m_sin+set}" = set; then :
38354 $as_echo_n "(cached) " >&6
38356 ac_check_lib_save_LIBS=$LIBS
38358 if test x$gcc_no_link = xyes; then
38359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38362 /* end confdefs.h. */
38364 /* Override any GCC internal prototype to avoid an error.
38365 Use char because int might match the return type of a GCC
38366 builtin and then its argument prototype would still apply. */
38379 if ac_fn_c_try_link "$LINENO"; then :
38380 ac_cv_lib_m_sin=yes
38384 rm -f core conftest.err conftest.$ac_objext \
38385 conftest$ac_exeext conftest.$ac_ext
38386 LIBS=$ac_check_lib_save_LIBS
38388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38389 $as_echo "$ac_cv_lib_m_sin" >&6; }
38390 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38394 ac_save_LIBS="$LIBS"
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38400 $as_echo_n "checking for isinf declaration... " >&6; }
38401 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38402 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38403 $as_echo_n "(cached) " >&6
38408 ac_cpp='$CXXCPP $CPPFLAGS'
38409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38414 /* end confdefs.h. */
38416 #ifdef HAVE_IEEEFP_H
38417 #include <ieeefp.h>
38428 if ac_fn_cxx_try_compile "$LINENO"; then :
38429 glibcxx_cv_func_isinf_use=yes
38431 glibcxx_cv_func_isinf_use=no
38433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38435 ac_cpp='$CPP $CPPFLAGS'
38436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38445 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38447 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38448 for ac_func in isinf
38450 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38451 if test "x$ac_cv_func_isinf" = x""yes; then :
38452 cat >>confdefs.h <<_ACEOF
38453 #define HAVE_ISINF 1
38461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38462 $as_echo_n "checking for _isinf declaration... " >&6; }
38463 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38464 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38465 $as_echo_n "(cached) " >&6
38470 ac_cpp='$CXXCPP $CPPFLAGS'
38471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38476 /* end confdefs.h. */
38478 #ifdef HAVE_IEEEFP_H
38479 #include <ieeefp.h>
38490 if ac_fn_cxx_try_compile "$LINENO"; then :
38491 glibcxx_cv_func__isinf_use=yes
38493 glibcxx_cv_func__isinf_use=no
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38497 ac_cpp='$CPP $CPPFLAGS'
38498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38507 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38509 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38510 for ac_func in _isinf
38512 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38513 if test "x$ac_cv_func__isinf" = x""yes; then :
38514 cat >>confdefs.h <<_ACEOF
38515 #define HAVE__ISINF 1
38528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38529 $as_echo_n "checking for isnan declaration... " >&6; }
38530 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38531 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38532 $as_echo_n "(cached) " >&6
38537 ac_cpp='$CXXCPP $CPPFLAGS'
38538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38543 /* end confdefs.h. */
38545 #ifdef HAVE_IEEEFP_H
38546 #include <ieeefp.h>
38557 if ac_fn_cxx_try_compile "$LINENO"; then :
38558 glibcxx_cv_func_isnan_use=yes
38560 glibcxx_cv_func_isnan_use=no
38562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38564 ac_cpp='$CPP $CPPFLAGS'
38565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38574 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38576 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38577 for ac_func in isnan
38579 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38580 if test "x$ac_cv_func_isnan" = x""yes; then :
38581 cat >>confdefs.h <<_ACEOF
38582 #define HAVE_ISNAN 1
38590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38591 $as_echo_n "checking for _isnan declaration... " >&6; }
38592 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38593 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38594 $as_echo_n "(cached) " >&6
38599 ac_cpp='$CXXCPP $CPPFLAGS'
38600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h. */
38607 #ifdef HAVE_IEEEFP_H
38608 #include <ieeefp.h>
38619 if ac_fn_cxx_try_compile "$LINENO"; then :
38620 glibcxx_cv_func__isnan_use=yes
38622 glibcxx_cv_func__isnan_use=no
38624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38626 ac_cpp='$CPP $CPPFLAGS'
38627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38636 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38638 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38639 for ac_func in _isnan
38641 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38642 if test "x$ac_cv_func__isnan" = x""yes; then :
38643 cat >>confdefs.h <<_ACEOF
38644 #define HAVE__ISNAN 1
38657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38658 $as_echo_n "checking for finite declaration... " >&6; }
38659 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38660 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38661 $as_echo_n "(cached) " >&6
38666 ac_cpp='$CXXCPP $CPPFLAGS'
38667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38672 /* end confdefs.h. */
38674 #ifdef HAVE_IEEEFP_H
38675 #include <ieeefp.h>
38686 if ac_fn_cxx_try_compile "$LINENO"; then :
38687 glibcxx_cv_func_finite_use=yes
38689 glibcxx_cv_func_finite_use=no
38691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38693 ac_cpp='$CPP $CPPFLAGS'
38694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38703 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38705 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38706 for ac_func in finite
38708 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38709 if test "x$ac_cv_func_finite" = x""yes; then :
38710 cat >>confdefs.h <<_ACEOF
38711 #define HAVE_FINITE 1
38719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38720 $as_echo_n "checking for _finite declaration... " >&6; }
38721 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38722 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38723 $as_echo_n "(cached) " >&6
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h. */
38736 #ifdef HAVE_IEEEFP_H
38737 #include <ieeefp.h>
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749 glibcxx_cv_func__finite_use=yes
38751 glibcxx_cv_func__finite_use=no
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38765 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38767 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38768 for ac_func in _finite
38770 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38771 if test "x$ac_cv_func__finite" = x""yes; then :
38772 cat >>confdefs.h <<_ACEOF
38773 #define HAVE__FINITE 1
38786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38787 $as_echo_n "checking for sincos declaration... " >&6; }
38788 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38789 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38790 $as_echo_n "(cached) " >&6
38795 ac_cpp='$CXXCPP $CPPFLAGS'
38796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38801 /* end confdefs.h. */
38811 if ac_fn_cxx_try_compile "$LINENO"; then :
38812 glibcxx_cv_func_sincos_use=yes
38814 glibcxx_cv_func_sincos_use=no
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38818 ac_cpp='$CPP $CPPFLAGS'
38819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38828 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38830 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38831 for ac_func in sincos
38833 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38834 if test "x$ac_cv_func_sincos" = x""yes; then :
38835 cat >>confdefs.h <<_ACEOF
38836 #define HAVE_SINCOS 1
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38845 $as_echo_n "checking for _sincos declaration... " >&6; }
38846 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38847 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38848 $as_echo_n "(cached) " >&6
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h. */
38869 if ac_fn_cxx_try_compile "$LINENO"; then :
38870 glibcxx_cv_func__sincos_use=yes
38872 glibcxx_cv_func__sincos_use=no
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38886 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38888 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38889 for ac_func in _sincos
38891 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38892 if test "x$ac_cv_func__sincos" = x""yes; then :
38893 cat >>confdefs.h <<_ACEOF
38894 #define HAVE__SINCOS 1
38907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38908 $as_echo_n "checking for fpclass declaration... " >&6; }
38909 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38910 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38911 $as_echo_n "(cached) " >&6
38916 ac_cpp='$CXXCPP $CPPFLAGS'
38917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38922 /* end confdefs.h. */
38924 #ifdef HAVE_IEEEFP_H
38925 #include <ieeefp.h>
38936 if ac_fn_cxx_try_compile "$LINENO"; then :
38937 glibcxx_cv_func_fpclass_use=yes
38939 glibcxx_cv_func_fpclass_use=no
38941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38943 ac_cpp='$CPP $CPPFLAGS'
38944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38953 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38955 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38956 for ac_func in fpclass
38958 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38959 if test "x$ac_cv_func_fpclass" = x""yes; then :
38960 cat >>confdefs.h <<_ACEOF
38961 #define HAVE_FPCLASS 1
38969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38970 $as_echo_n "checking for _fpclass declaration... " >&6; }
38971 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38972 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38973 $as_echo_n "(cached) " >&6
38978 ac_cpp='$CXXCPP $CPPFLAGS'
38979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38984 /* end confdefs.h. */
38986 #ifdef HAVE_IEEEFP_H
38987 #include <ieeefp.h>
38998 if ac_fn_cxx_try_compile "$LINENO"; then :
38999 glibcxx_cv_func__fpclass_use=yes
39001 glibcxx_cv_func__fpclass_use=no
39003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39005 ac_cpp='$CPP $CPPFLAGS'
39006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39015 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39017 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39018 for ac_func in _fpclass
39020 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39021 if test "x$ac_cv_func__fpclass" = x""yes; then :
39022 cat >>confdefs.h <<_ACEOF
39023 #define HAVE__FPCLASS 1
39036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39037 $as_echo_n "checking for qfpclass declaration... " >&6; }
39038 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39039 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39040 $as_echo_n "(cached) " >&6
39045 ac_cpp='$CXXCPP $CPPFLAGS'
39046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39051 /* end confdefs.h. */
39053 #ifdef HAVE_IEEEFP_H
39054 #include <ieeefp.h>
39065 if ac_fn_cxx_try_compile "$LINENO"; then :
39066 glibcxx_cv_func_qfpclass_use=yes
39068 glibcxx_cv_func_qfpclass_use=no
39070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39072 ac_cpp='$CPP $CPPFLAGS'
39073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39082 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39084 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39085 for ac_func in qfpclass
39087 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39088 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39089 cat >>confdefs.h <<_ACEOF
39090 #define HAVE_QFPCLASS 1
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39099 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39100 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39101 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39102 $as_echo_n "(cached) " >&6
39107 ac_cpp='$CXXCPP $CPPFLAGS'
39108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39113 /* end confdefs.h. */
39115 #ifdef HAVE_IEEEFP_H
39116 #include <ieeefp.h>
39127 if ac_fn_cxx_try_compile "$LINENO"; then :
39128 glibcxx_cv_func__qfpclass_use=yes
39130 glibcxx_cv_func__qfpclass_use=no
39132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39134 ac_cpp='$CPP $CPPFLAGS'
39135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39144 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39146 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39147 for ac_func in _qfpclass
39149 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39150 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39151 cat >>confdefs.h <<_ACEOF
39152 #define HAVE__QFPCLASS 1
39165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39166 $as_echo_n "checking for hypot declaration... " >&6; }
39167 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39168 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39169 $as_echo_n "(cached) " >&6
39174 ac_cpp='$CXXCPP $CPPFLAGS'
39175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39180 /* end confdefs.h. */
39190 if ac_fn_cxx_try_compile "$LINENO"; then :
39191 glibcxx_cv_func_hypot_use=yes
39193 glibcxx_cv_func_hypot_use=no
39195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39197 ac_cpp='$CPP $CPPFLAGS'
39198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39207 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39209 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39210 for ac_func in hypot
39212 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39213 if test "x$ac_cv_func_hypot" = x""yes; then :
39214 cat >>confdefs.h <<_ACEOF
39215 #define HAVE_HYPOT 1
39223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39224 $as_echo_n "checking for _hypot declaration... " >&6; }
39225 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39226 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39227 $as_echo_n "(cached) " >&6
39232 ac_cpp='$CXXCPP $CPPFLAGS'
39233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39238 /* end confdefs.h. */
39248 if ac_fn_cxx_try_compile "$LINENO"; then :
39249 glibcxx_cv_func__hypot_use=yes
39251 glibcxx_cv_func__hypot_use=no
39253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39265 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39267 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39268 for ac_func in _hypot
39270 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39271 if test "x$ac_cv_func__hypot" = x""yes; then :
39272 cat >>confdefs.h <<_ACEOF
39273 #define HAVE__HYPOT 1
39286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39287 $as_echo_n "checking for float trig functions... " >&6; }
39288 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39289 $as_echo_n "(cached) " >&6
39294 ac_cpp='$CXXCPP $CPPFLAGS'
39295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39300 /* end confdefs.h. */
39305 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39310 if ac_fn_cxx_try_compile "$LINENO"; then :
39311 glibcxx_cv_func_float_trig_use=yes
39313 glibcxx_cv_func_float_trig_use=no
39315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39317 ac_cpp='$CPP $CPPFLAGS'
39318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39325 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39326 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39327 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39331 eval as_val=\$$as_ac_var
39332 if test "x$as_val" = x""yes; then :
39333 cat >>confdefs.h <<_ACEOF
39334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39342 $as_echo_n "checking for _float trig functions... " >&6; }
39343 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39344 $as_echo_n "(cached) " >&6
39349 ac_cpp='$CXXCPP $CPPFLAGS'
39350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39355 /* end confdefs.h. */
39360 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39365 if ac_fn_cxx_try_compile "$LINENO"; then :
39366 glibcxx_cv_func__float_trig_use=yes
39368 glibcxx_cv_func__float_trig_use=no
39370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_cpp='$CPP $CPPFLAGS'
39373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39380 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39381 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39382 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39386 eval as_val=\$$as_ac_var
39387 if test "x$as_val" = x""yes; then :
39388 cat >>confdefs.h <<_ACEOF
39389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39403 $as_echo_n "checking for float round functions... " >&6; }
39404 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39405 $as_echo_n "(cached) " >&6
39410 ac_cpp='$CXXCPP $CPPFLAGS'
39411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39416 /* end confdefs.h. */
39421 ceilf (0); floorf (0);
39426 if ac_fn_cxx_try_compile "$LINENO"; then :
39427 glibcxx_cv_func_float_round_use=yes
39429 glibcxx_cv_func_float_round_use=no
39431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39433 ac_cpp='$CPP $CPPFLAGS'
39434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39441 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39442 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39443 for ac_func in ceilf floorf
39445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39447 eval as_val=\$$as_ac_var
39448 if test "x$as_val" = x""yes; then :
39449 cat >>confdefs.h <<_ACEOF
39450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39458 $as_echo_n "checking for _float round functions... " >&6; }
39459 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39460 $as_echo_n "(cached) " >&6
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39471 /* end confdefs.h. */
39476 _ceilf (0); _floorf (0);
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482 glibcxx_cv_func__float_round_use=yes
39484 glibcxx_cv_func__float_round_use=no
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39496 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39497 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39498 for ac_func in _ceilf _floorf
39500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39502 eval as_val=\$$as_ac_var
39503 if test "x$as_val" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39520 $as_echo_n "checking for expf declaration... " >&6; }
39521 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39522 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39523 $as_echo_n "(cached) " >&6
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h. */
39536 #ifdef HAVE_IEEEFP_H
39537 #include <ieeefp.h>
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549 glibcxx_cv_func_expf_use=yes
39551 glibcxx_cv_func_expf_use=no
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39565 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39567 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39568 for ac_func in expf
39570 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39571 if test "x$ac_cv_func_expf" = x""yes; then :
39572 cat >>confdefs.h <<_ACEOF
39573 #define HAVE_EXPF 1
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39582 $as_echo_n "checking for _expf declaration... " >&6; }
39583 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39584 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39585 $as_echo_n "(cached) " >&6
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h. */
39598 #ifdef HAVE_IEEEFP_H
39599 #include <ieeefp.h>
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611 glibcxx_cv_func__expf_use=yes
39613 glibcxx_cv_func__expf_use=no
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39627 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39629 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39630 for ac_func in _expf
39632 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39633 if test "x$ac_cv_func__expf" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE__EXPF 1
39648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39649 $as_echo_n "checking for isnanf declaration... " >&6; }
39650 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39651 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39652 $as_echo_n "(cached) " >&6
39657 ac_cpp='$CXXCPP $CPPFLAGS'
39658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39663 /* end confdefs.h. */
39665 #ifdef HAVE_IEEEFP_H
39666 #include <ieeefp.h>
39677 if ac_fn_cxx_try_compile "$LINENO"; then :
39678 glibcxx_cv_func_isnanf_use=yes
39680 glibcxx_cv_func_isnanf_use=no
39682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39684 ac_cpp='$CPP $CPPFLAGS'
39685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39694 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39696 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39697 for ac_func in isnanf
39699 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39700 if test "x$ac_cv_func_isnanf" = x""yes; then :
39701 cat >>confdefs.h <<_ACEOF
39702 #define HAVE_ISNANF 1
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39711 $as_echo_n "checking for _isnanf declaration... " >&6; }
39712 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39713 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39714 $as_echo_n "(cached) " >&6
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39725 /* end confdefs.h. */
39727 #ifdef HAVE_IEEEFP_H
39728 #include <ieeefp.h>
39739 if ac_fn_cxx_try_compile "$LINENO"; then :
39740 glibcxx_cv_func__isnanf_use=yes
39742 glibcxx_cv_func__isnanf_use=no
39744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39746 ac_cpp='$CPP $CPPFLAGS'
39747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39756 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39758 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39759 for ac_func in _isnanf
39761 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39762 if test "x$ac_cv_func__isnanf" = x""yes; then :
39763 cat >>confdefs.h <<_ACEOF
39764 #define HAVE__ISNANF 1
39777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39778 $as_echo_n "checking for isinff declaration... " >&6; }
39779 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39780 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39781 $as_echo_n "(cached) " >&6
39786 ac_cpp='$CXXCPP $CPPFLAGS'
39787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39792 /* end confdefs.h. */
39794 #ifdef HAVE_IEEEFP_H
39795 #include <ieeefp.h>
39806 if ac_fn_cxx_try_compile "$LINENO"; then :
39807 glibcxx_cv_func_isinff_use=yes
39809 glibcxx_cv_func_isinff_use=no
39811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39813 ac_cpp='$CPP $CPPFLAGS'
39814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39823 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39825 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39826 for ac_func in isinff
39828 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39829 if test "x$ac_cv_func_isinff" = x""yes; then :
39830 cat >>confdefs.h <<_ACEOF
39831 #define HAVE_ISINFF 1
39839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39840 $as_echo_n "checking for _isinff declaration... " >&6; }
39841 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39842 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39843 $as_echo_n "(cached) " >&6
39848 ac_cpp='$CXXCPP $CPPFLAGS'
39849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39854 /* end confdefs.h. */
39856 #ifdef HAVE_IEEEFP_H
39857 #include <ieeefp.h>
39868 if ac_fn_cxx_try_compile "$LINENO"; then :
39869 glibcxx_cv_func__isinff_use=yes
39871 glibcxx_cv_func__isinff_use=no
39873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39875 ac_cpp='$CPP $CPPFLAGS'
39876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39885 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39887 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39888 for ac_func in _isinff
39890 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39891 if test "x$ac_cv_func__isinff" = x""yes; then :
39892 cat >>confdefs.h <<_ACEOF
39893 #define HAVE__ISINFF 1
39906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39907 $as_echo_n "checking for atan2f declaration... " >&6; }
39908 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39909 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39910 $as_echo_n "(cached) " >&6
39915 ac_cpp='$CXXCPP $CPPFLAGS'
39916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39921 /* end confdefs.h. */
39931 if ac_fn_cxx_try_compile "$LINENO"; then :
39932 glibcxx_cv_func_atan2f_use=yes
39934 glibcxx_cv_func_atan2f_use=no
39936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39938 ac_cpp='$CPP $CPPFLAGS'
39939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39948 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39950 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39951 for ac_func in atan2f
39953 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39954 if test "x$ac_cv_func_atan2f" = x""yes; then :
39955 cat >>confdefs.h <<_ACEOF
39956 #define HAVE_ATAN2F 1
39964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39965 $as_echo_n "checking for _atan2f declaration... " >&6; }
39966 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39967 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39968 $as_echo_n "(cached) " >&6
39973 ac_cpp='$CXXCPP $CPPFLAGS'
39974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39979 /* end confdefs.h. */
39989 if ac_fn_cxx_try_compile "$LINENO"; then :
39990 glibcxx_cv_func__atan2f_use=yes
39992 glibcxx_cv_func__atan2f_use=no
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39996 ac_cpp='$CPP $CPPFLAGS'
39997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40006 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40008 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40009 for ac_func in _atan2f
40011 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40012 if test "x$ac_cv_func__atan2f" = x""yes; then :
40013 cat >>confdefs.h <<_ACEOF
40014 #define HAVE__ATAN2F 1
40027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40028 $as_echo_n "checking for fabsf declaration... " >&6; }
40029 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40030 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40031 $as_echo_n "(cached) " >&6
40036 ac_cpp='$CXXCPP $CPPFLAGS'
40037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40042 /* end confdefs.h. */
40044 #ifdef HAVE_IEEEFP_H
40045 #include <ieeefp.h>
40056 if ac_fn_cxx_try_compile "$LINENO"; then :
40057 glibcxx_cv_func_fabsf_use=yes
40059 glibcxx_cv_func_fabsf_use=no
40061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40063 ac_cpp='$CPP $CPPFLAGS'
40064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40073 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40075 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40076 for ac_func in fabsf
40078 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40079 if test "x$ac_cv_func_fabsf" = x""yes; then :
40080 cat >>confdefs.h <<_ACEOF
40081 #define HAVE_FABSF 1
40089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40090 $as_echo_n "checking for _fabsf declaration... " >&6; }
40091 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40092 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40093 $as_echo_n "(cached) " >&6
40098 ac_cpp='$CXXCPP $CPPFLAGS'
40099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40104 /* end confdefs.h. */
40106 #ifdef HAVE_IEEEFP_H
40107 #include <ieeefp.h>
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119 glibcxx_cv_func__fabsf_use=yes
40121 glibcxx_cv_func__fabsf_use=no
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40135 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40137 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40138 for ac_func in _fabsf
40140 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40141 if test "x$ac_cv_func__fabsf" = x""yes; then :
40142 cat >>confdefs.h <<_ACEOF
40143 #define HAVE__FABSF 1
40156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40157 $as_echo_n "checking for fmodf declaration... " >&6; }
40158 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40159 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40160 $as_echo_n "(cached) " >&6
40165 ac_cpp='$CXXCPP $CPPFLAGS'
40166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40171 /* end confdefs.h. */
40181 if ac_fn_cxx_try_compile "$LINENO"; then :
40182 glibcxx_cv_func_fmodf_use=yes
40184 glibcxx_cv_func_fmodf_use=no
40186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40188 ac_cpp='$CPP $CPPFLAGS'
40189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40198 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40200 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40201 for ac_func in fmodf
40203 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40204 if test "x$ac_cv_func_fmodf" = x""yes; then :
40205 cat >>confdefs.h <<_ACEOF
40206 #define HAVE_FMODF 1
40214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40215 $as_echo_n "checking for _fmodf declaration... " >&6; }
40216 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40217 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40218 $as_echo_n "(cached) " >&6
40223 ac_cpp='$CXXCPP $CPPFLAGS'
40224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40229 /* end confdefs.h. */
40239 if ac_fn_cxx_try_compile "$LINENO"; then :
40240 glibcxx_cv_func__fmodf_use=yes
40242 glibcxx_cv_func__fmodf_use=no
40244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40246 ac_cpp='$CPP $CPPFLAGS'
40247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40256 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40258 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40259 for ac_func in _fmodf
40261 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40262 if test "x$ac_cv_func__fmodf" = x""yes; then :
40263 cat >>confdefs.h <<_ACEOF
40264 #define HAVE__FMODF 1
40277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40278 $as_echo_n "checking for frexpf declaration... " >&6; }
40279 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40280 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40281 $as_echo_n "(cached) " >&6
40286 ac_cpp='$CXXCPP $CPPFLAGS'
40287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40292 /* end confdefs.h. */
40302 if ac_fn_cxx_try_compile "$LINENO"; then :
40303 glibcxx_cv_func_frexpf_use=yes
40305 glibcxx_cv_func_frexpf_use=no
40307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40309 ac_cpp='$CPP $CPPFLAGS'
40310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40319 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40321 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40322 for ac_func in frexpf
40324 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40325 if test "x$ac_cv_func_frexpf" = x""yes; then :
40326 cat >>confdefs.h <<_ACEOF
40327 #define HAVE_FREXPF 1
40335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40336 $as_echo_n "checking for _frexpf declaration... " >&6; }
40337 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40338 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40339 $as_echo_n "(cached) " >&6
40344 ac_cpp='$CXXCPP $CPPFLAGS'
40345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40350 /* end confdefs.h. */
40360 if ac_fn_cxx_try_compile "$LINENO"; then :
40361 glibcxx_cv_func__frexpf_use=yes
40363 glibcxx_cv_func__frexpf_use=no
40365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40367 ac_cpp='$CPP $CPPFLAGS'
40368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40377 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40379 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40380 for ac_func in _frexpf
40382 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40383 if test "x$ac_cv_func__frexpf" = x""yes; then :
40384 cat >>confdefs.h <<_ACEOF
40385 #define HAVE__FREXPF 1
40398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40399 $as_echo_n "checking for hypotf declaration... " >&6; }
40400 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40401 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40402 $as_echo_n "(cached) " >&6
40407 ac_cpp='$CXXCPP $CPPFLAGS'
40408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40413 /* end confdefs.h. */
40423 if ac_fn_cxx_try_compile "$LINENO"; then :
40424 glibcxx_cv_func_hypotf_use=yes
40426 glibcxx_cv_func_hypotf_use=no
40428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40430 ac_cpp='$CPP $CPPFLAGS'
40431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40440 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40442 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40443 for ac_func in hypotf
40445 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40446 if test "x$ac_cv_func_hypotf" = x""yes; then :
40447 cat >>confdefs.h <<_ACEOF
40448 #define HAVE_HYPOTF 1
40456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40457 $as_echo_n "checking for _hypotf declaration... " >&6; }
40458 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40459 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40460 $as_echo_n "(cached) " >&6
40465 ac_cpp='$CXXCPP $CPPFLAGS'
40466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40471 /* end confdefs.h. */
40481 if ac_fn_cxx_try_compile "$LINENO"; then :
40482 glibcxx_cv_func__hypotf_use=yes
40484 glibcxx_cv_func__hypotf_use=no
40486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40488 ac_cpp='$CPP $CPPFLAGS'
40489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40498 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40500 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40501 for ac_func in _hypotf
40503 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40504 if test "x$ac_cv_func__hypotf" = x""yes; then :
40505 cat >>confdefs.h <<_ACEOF
40506 #define HAVE__HYPOTF 1
40519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40520 $as_echo_n "checking for ldexpf declaration... " >&6; }
40521 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40522 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40523 $as_echo_n "(cached) " >&6
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534 /* end confdefs.h. */
40544 if ac_fn_cxx_try_compile "$LINENO"; then :
40545 glibcxx_cv_func_ldexpf_use=yes
40547 glibcxx_cv_func_ldexpf_use=no
40549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40551 ac_cpp='$CPP $CPPFLAGS'
40552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40561 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40563 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40564 for ac_func in ldexpf
40566 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40567 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40568 cat >>confdefs.h <<_ACEOF
40569 #define HAVE_LDEXPF 1
40577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40578 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40579 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40580 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40581 $as_echo_n "(cached) " >&6
40586 ac_cpp='$CXXCPP $CPPFLAGS'
40587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40592 /* end confdefs.h. */
40602 if ac_fn_cxx_try_compile "$LINENO"; then :
40603 glibcxx_cv_func__ldexpf_use=yes
40605 glibcxx_cv_func__ldexpf_use=no
40607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40609 ac_cpp='$CPP $CPPFLAGS'
40610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40619 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40621 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40622 for ac_func in _ldexpf
40624 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40625 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40626 cat >>confdefs.h <<_ACEOF
40627 #define HAVE__LDEXPF 1
40640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40641 $as_echo_n "checking for logf declaration... " >&6; }
40642 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40643 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40644 $as_echo_n "(cached) " >&6
40649 ac_cpp='$CXXCPP $CPPFLAGS'
40650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40655 /* end confdefs.h. */
40657 #ifdef HAVE_IEEEFP_H
40658 #include <ieeefp.h>
40669 if ac_fn_cxx_try_compile "$LINENO"; then :
40670 glibcxx_cv_func_logf_use=yes
40672 glibcxx_cv_func_logf_use=no
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40676 ac_cpp='$CPP $CPPFLAGS'
40677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40686 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40688 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40689 for ac_func in logf
40691 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40692 if test "x$ac_cv_func_logf" = x""yes; then :
40693 cat >>confdefs.h <<_ACEOF
40694 #define HAVE_LOGF 1
40702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40703 $as_echo_n "checking for _logf declaration... " >&6; }
40704 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40705 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40706 $as_echo_n "(cached) " >&6
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h. */
40719 #ifdef HAVE_IEEEFP_H
40720 #include <ieeefp.h>
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732 glibcxx_cv_func__logf_use=yes
40734 glibcxx_cv_func__logf_use=no
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40748 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40750 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40751 for ac_func in _logf
40753 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40754 if test "x$ac_cv_func__logf" = x""yes; then :
40755 cat >>confdefs.h <<_ACEOF
40756 #define HAVE__LOGF 1
40769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40770 $as_echo_n "checking for log10f declaration... " >&6; }
40771 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40772 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40773 $as_echo_n "(cached) " >&6
40778 ac_cpp='$CXXCPP $CPPFLAGS'
40779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40784 /* end confdefs.h. */
40786 #ifdef HAVE_IEEEFP_H
40787 #include <ieeefp.h>
40798 if ac_fn_cxx_try_compile "$LINENO"; then :
40799 glibcxx_cv_func_log10f_use=yes
40801 glibcxx_cv_func_log10f_use=no
40803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40805 ac_cpp='$CPP $CPPFLAGS'
40806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40815 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40817 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40818 for ac_func in log10f
40820 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40821 if test "x$ac_cv_func_log10f" = x""yes; then :
40822 cat >>confdefs.h <<_ACEOF
40823 #define HAVE_LOG10F 1
40831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40832 $as_echo_n "checking for _log10f declaration... " >&6; }
40833 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40834 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40835 $as_echo_n "(cached) " >&6
40840 ac_cpp='$CXXCPP $CPPFLAGS'
40841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40846 /* end confdefs.h. */
40848 #ifdef HAVE_IEEEFP_H
40849 #include <ieeefp.h>
40860 if ac_fn_cxx_try_compile "$LINENO"; then :
40861 glibcxx_cv_func__log10f_use=yes
40863 glibcxx_cv_func__log10f_use=no
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40867 ac_cpp='$CPP $CPPFLAGS'
40868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40877 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40879 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40880 for ac_func in _log10f
40882 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40883 if test "x$ac_cv_func__log10f" = x""yes; then :
40884 cat >>confdefs.h <<_ACEOF
40885 #define HAVE__LOG10F 1
40898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40899 $as_echo_n "checking for modff declaration... " >&6; }
40900 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40901 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40902 $as_echo_n "(cached) " >&6
40907 ac_cpp='$CXXCPP $CPPFLAGS'
40908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40913 /* end confdefs.h. */
40923 if ac_fn_cxx_try_compile "$LINENO"; then :
40924 glibcxx_cv_func_modff_use=yes
40926 glibcxx_cv_func_modff_use=no
40928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40930 ac_cpp='$CPP $CPPFLAGS'
40931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40940 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40942 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40943 for ac_func in modff
40945 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40946 if test "x$ac_cv_func_modff" = x""yes; then :
40947 cat >>confdefs.h <<_ACEOF
40948 #define HAVE_MODFF 1
40956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40957 $as_echo_n "checking for _modff declaration... " >&6; }
40958 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40959 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40960 $as_echo_n "(cached) " >&6
40965 ac_cpp='$CXXCPP $CPPFLAGS'
40966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40971 /* end confdefs.h. */
40981 if ac_fn_cxx_try_compile "$LINENO"; then :
40982 glibcxx_cv_func__modff_use=yes
40984 glibcxx_cv_func__modff_use=no
40986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40988 ac_cpp='$CPP $CPPFLAGS'
40989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40998 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41000 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41001 for ac_func in _modff
41003 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41004 if test "x$ac_cv_func__modff" = x""yes; then :
41005 cat >>confdefs.h <<_ACEOF
41006 #define HAVE__MODFF 1
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41020 $as_echo_n "checking for modf declaration... " >&6; }
41021 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41022 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41023 $as_echo_n "(cached) " >&6
41028 ac_cpp='$CXXCPP $CPPFLAGS'
41029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034 /* end confdefs.h. */
41044 if ac_fn_cxx_try_compile "$LINENO"; then :
41045 glibcxx_cv_func_modf_use=yes
41047 glibcxx_cv_func_modf_use=no
41049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41051 ac_cpp='$CPP $CPPFLAGS'
41052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41061 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41063 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41064 for ac_func in modf
41066 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41067 if test "x$ac_cv_func_modf" = x""yes; then :
41068 cat >>confdefs.h <<_ACEOF
41069 #define HAVE_MODF 1
41077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41078 $as_echo_n "checking for _modf declaration... " >&6; }
41079 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41080 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41081 $as_echo_n "(cached) " >&6
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h. */
41102 if ac_fn_cxx_try_compile "$LINENO"; then :
41103 glibcxx_cv_func__modf_use=yes
41105 glibcxx_cv_func__modf_use=no
41107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41109 ac_cpp='$CPP $CPPFLAGS'
41110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41119 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41121 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41122 for ac_func in _modf
41124 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41125 if test "x$ac_cv_func__modf" = x""yes; then :
41126 cat >>confdefs.h <<_ACEOF
41127 #define HAVE__MODF 1
41140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41141 $as_echo_n "checking for powf declaration... " >&6; }
41142 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41143 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41144 $as_echo_n "(cached) " >&6
41149 ac_cpp='$CXXCPP $CPPFLAGS'
41150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41155 /* end confdefs.h. */
41165 if ac_fn_cxx_try_compile "$LINENO"; then :
41166 glibcxx_cv_func_powf_use=yes
41168 glibcxx_cv_func_powf_use=no
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41172 ac_cpp='$CPP $CPPFLAGS'
41173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41182 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41184 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41185 for ac_func in powf
41187 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41188 if test "x$ac_cv_func_powf" = x""yes; then :
41189 cat >>confdefs.h <<_ACEOF
41190 #define HAVE_POWF 1
41198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41199 $as_echo_n "checking for _powf declaration... " >&6; }
41200 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41201 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41202 $as_echo_n "(cached) " >&6
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h. */
41223 if ac_fn_cxx_try_compile "$LINENO"; then :
41224 glibcxx_cv_func__powf_use=yes
41226 glibcxx_cv_func__powf_use=no
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41240 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41242 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41243 for ac_func in _powf
41245 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41246 if test "x$ac_cv_func__powf" = x""yes; then :
41247 cat >>confdefs.h <<_ACEOF
41248 #define HAVE__POWF 1
41261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41262 $as_echo_n "checking for sqrtf declaration... " >&6; }
41263 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41264 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41265 $as_echo_n "(cached) " >&6
41270 ac_cpp='$CXXCPP $CPPFLAGS'
41271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41276 /* end confdefs.h. */
41278 #ifdef HAVE_IEEEFP_H
41279 #include <ieeefp.h>
41290 if ac_fn_cxx_try_compile "$LINENO"; then :
41291 glibcxx_cv_func_sqrtf_use=yes
41293 glibcxx_cv_func_sqrtf_use=no
41295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41307 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41309 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41310 for ac_func in sqrtf
41312 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41313 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41314 cat >>confdefs.h <<_ACEOF
41315 #define HAVE_SQRTF 1
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41324 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41325 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41326 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41327 $as_echo_n "(cached) " >&6
41332 ac_cpp='$CXXCPP $CPPFLAGS'
41333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h. */
41340 #ifdef HAVE_IEEEFP_H
41341 #include <ieeefp.h>
41352 if ac_fn_cxx_try_compile "$LINENO"; then :
41353 glibcxx_cv_func__sqrtf_use=yes
41355 glibcxx_cv_func__sqrtf_use=no
41357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41359 ac_cpp='$CPP $CPPFLAGS'
41360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41369 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41371 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41372 for ac_func in _sqrtf
41374 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41375 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41376 cat >>confdefs.h <<_ACEOF
41377 #define HAVE__SQRTF 1
41390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41391 $as_echo_n "checking for sincosf declaration... " >&6; }
41392 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41393 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41394 $as_echo_n "(cached) " >&6
41399 ac_cpp='$CXXCPP $CPPFLAGS'
41400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41405 /* end confdefs.h. */
41415 if ac_fn_cxx_try_compile "$LINENO"; then :
41416 glibcxx_cv_func_sincosf_use=yes
41418 glibcxx_cv_func_sincosf_use=no
41420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41422 ac_cpp='$CPP $CPPFLAGS'
41423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41432 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41434 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41435 for ac_func in sincosf
41437 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41438 if test "x$ac_cv_func_sincosf" = x""yes; then :
41439 cat >>confdefs.h <<_ACEOF
41440 #define HAVE_SINCOSF 1
41448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41449 $as_echo_n "checking for _sincosf declaration... " >&6; }
41450 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41451 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41452 $as_echo_n "(cached) " >&6
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41463 /* end confdefs.h. */
41473 if ac_fn_cxx_try_compile "$LINENO"; then :
41474 glibcxx_cv_func__sincosf_use=yes
41476 glibcxx_cv_func__sincosf_use=no
41478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41480 ac_cpp='$CPP $CPPFLAGS'
41481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41490 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41492 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41493 for ac_func in _sincosf
41495 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41496 if test "x$ac_cv_func__sincosf" = x""yes; then :
41497 cat >>confdefs.h <<_ACEOF
41498 #define HAVE__SINCOSF 1
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41512 $as_echo_n "checking for finitef declaration... " >&6; }
41513 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41514 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41515 $as_echo_n "(cached) " >&6
41520 ac_cpp='$CXXCPP $CPPFLAGS'
41521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41526 /* end confdefs.h. */
41528 #ifdef HAVE_IEEEFP_H
41529 #include <ieeefp.h>
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541 glibcxx_cv_func_finitef_use=yes
41543 glibcxx_cv_func_finitef_use=no
41545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41547 ac_cpp='$CPP $CPPFLAGS'
41548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41557 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41559 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41560 for ac_func in finitef
41562 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41563 if test "x$ac_cv_func_finitef" = x""yes; then :
41564 cat >>confdefs.h <<_ACEOF
41565 #define HAVE_FINITEF 1
41573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41574 $as_echo_n "checking for _finitef declaration... " >&6; }
41575 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41576 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41577 $as_echo_n "(cached) " >&6
41582 ac_cpp='$CXXCPP $CPPFLAGS'
41583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41588 /* end confdefs.h. */
41590 #ifdef HAVE_IEEEFP_H
41591 #include <ieeefp.h>
41602 if ac_fn_cxx_try_compile "$LINENO"; then :
41603 glibcxx_cv_func__finitef_use=yes
41605 glibcxx_cv_func__finitef_use=no
41607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41609 ac_cpp='$CPP $CPPFLAGS'
41610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41619 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41621 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41622 for ac_func in _finitef
41624 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41625 if test "x$ac_cv_func__finitef" = x""yes; then :
41626 cat >>confdefs.h <<_ACEOF
41627 #define HAVE__FINITEF 1
41640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41641 $as_echo_n "checking for long double trig functions... " >&6; }
41642 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41643 $as_echo_n "(cached) " >&6
41648 ac_cpp='$CXXCPP $CPPFLAGS'
41649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41654 /* end confdefs.h. */
41659 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41664 if ac_fn_cxx_try_compile "$LINENO"; then :
41665 glibcxx_cv_func_long_double_trig_use=yes
41667 glibcxx_cv_func_long_double_trig_use=no
41669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41671 ac_cpp='$CPP $CPPFLAGS'
41672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41679 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41680 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41681 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41685 eval as_val=\$$as_ac_var
41686 if test "x$as_val" = x""yes; then :
41687 cat >>confdefs.h <<_ACEOF
41688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41696 $as_echo_n "checking for _long double trig functions... " >&6; }
41697 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41698 $as_echo_n "(cached) " >&6
41703 ac_cpp='$CXXCPP $CPPFLAGS'
41704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41709 /* end confdefs.h. */
41714 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41719 if ac_fn_cxx_try_compile "$LINENO"; then :
41720 glibcxx_cv_func__long_double_trig_use=yes
41722 glibcxx_cv_func__long_double_trig_use=no
41724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41726 ac_cpp='$CPP $CPPFLAGS'
41727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41734 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41735 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41736 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41740 eval as_val=\$$as_ac_var
41741 if test "x$as_val" = x""yes; then :
41742 cat >>confdefs.h <<_ACEOF
41743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41757 $as_echo_n "checking for long double round functions... " >&6; }
41758 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41759 $as_echo_n "(cached) " >&6
41764 ac_cpp='$CXXCPP $CPPFLAGS'
41765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41770 /* end confdefs.h. */
41775 ceill (0); floorl (0);
41780 if ac_fn_cxx_try_compile "$LINENO"; then :
41781 glibcxx_cv_func_long_double_round_use=yes
41783 glibcxx_cv_func_long_double_round_use=no
41785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41787 ac_cpp='$CPP $CPPFLAGS'
41788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41795 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41796 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41797 for ac_func in ceill floorl
41799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41801 eval as_val=\$$as_ac_var
41802 if test "x$as_val" = x""yes; then :
41803 cat >>confdefs.h <<_ACEOF
41804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41812 $as_echo_n "checking for _long double round functions... " >&6; }
41813 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41814 $as_echo_n "(cached) " >&6
41819 ac_cpp='$CXXCPP $CPPFLAGS'
41820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41825 /* end confdefs.h. */
41830 _ceill (0); _floorl (0);
41835 if ac_fn_cxx_try_compile "$LINENO"; then :
41836 glibcxx_cv_func__long_double_round_use=yes
41838 glibcxx_cv_func__long_double_round_use=no
41840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41842 ac_cpp='$CPP $CPPFLAGS'
41843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41850 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41851 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41852 for ac_func in _ceill _floorl
41854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41856 eval as_val=\$$as_ac_var
41857 if test "x$as_val" = x""yes; then :
41858 cat >>confdefs.h <<_ACEOF
41859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41874 $as_echo_n "checking for isnanl declaration... " >&6; }
41875 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41876 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41877 $as_echo_n "(cached) " >&6
41882 ac_cpp='$CXXCPP $CPPFLAGS'
41883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41888 /* end confdefs.h. */
41890 #ifdef HAVE_IEEEFP_H
41891 #include <ieeefp.h>
41902 if ac_fn_cxx_try_compile "$LINENO"; then :
41903 glibcxx_cv_func_isnanl_use=yes
41905 glibcxx_cv_func_isnanl_use=no
41907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41909 ac_cpp='$CPP $CPPFLAGS'
41910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41919 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41921 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41922 for ac_func in isnanl
41924 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41925 if test "x$ac_cv_func_isnanl" = x""yes; then :
41926 cat >>confdefs.h <<_ACEOF
41927 #define HAVE_ISNANL 1
41935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41936 $as_echo_n "checking for _isnanl declaration... " >&6; }
41937 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41938 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41939 $as_echo_n "(cached) " >&6
41944 ac_cpp='$CXXCPP $CPPFLAGS'
41945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41950 /* end confdefs.h. */
41952 #ifdef HAVE_IEEEFP_H
41953 #include <ieeefp.h>
41964 if ac_fn_cxx_try_compile "$LINENO"; then :
41965 glibcxx_cv_func__isnanl_use=yes
41967 glibcxx_cv_func__isnanl_use=no
41969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41981 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41983 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41984 for ac_func in _isnanl
41986 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41987 if test "x$ac_cv_func__isnanl" = x""yes; then :
41988 cat >>confdefs.h <<_ACEOF
41989 #define HAVE__ISNANL 1
42002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42003 $as_echo_n "checking for isinfl declaration... " >&6; }
42004 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42005 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42006 $as_echo_n "(cached) " >&6
42011 ac_cpp='$CXXCPP $CPPFLAGS'
42012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42017 /* end confdefs.h. */
42019 #ifdef HAVE_IEEEFP_H
42020 #include <ieeefp.h>
42031 if ac_fn_cxx_try_compile "$LINENO"; then :
42032 glibcxx_cv_func_isinfl_use=yes
42034 glibcxx_cv_func_isinfl_use=no
42036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42038 ac_cpp='$CPP $CPPFLAGS'
42039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42048 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42050 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42051 for ac_func in isinfl
42053 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42054 if test "x$ac_cv_func_isinfl" = x""yes; then :
42055 cat >>confdefs.h <<_ACEOF
42056 #define HAVE_ISINFL 1
42064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42065 $as_echo_n "checking for _isinfl declaration... " >&6; }
42066 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42067 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42068 $as_echo_n "(cached) " >&6
42073 ac_cpp='$CXXCPP $CPPFLAGS'
42074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 /* end confdefs.h. */
42081 #ifdef HAVE_IEEEFP_H
42082 #include <ieeefp.h>
42093 if ac_fn_cxx_try_compile "$LINENO"; then :
42094 glibcxx_cv_func__isinfl_use=yes
42096 glibcxx_cv_func__isinfl_use=no
42098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42100 ac_cpp='$CPP $CPPFLAGS'
42101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42110 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42112 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42113 for ac_func in _isinfl
42115 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42116 if test "x$ac_cv_func__isinfl" = x""yes; then :
42117 cat >>confdefs.h <<_ACEOF
42118 #define HAVE__ISINFL 1
42131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42132 $as_echo_n "checking for atan2l declaration... " >&6; }
42133 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42134 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42135 $as_echo_n "(cached) " >&6
42140 ac_cpp='$CXXCPP $CPPFLAGS'
42141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42146 /* end confdefs.h. */
42156 if ac_fn_cxx_try_compile "$LINENO"; then :
42157 glibcxx_cv_func_atan2l_use=yes
42159 glibcxx_cv_func_atan2l_use=no
42161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42163 ac_cpp='$CPP $CPPFLAGS'
42164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42173 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42175 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42176 for ac_func in atan2l
42178 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42179 if test "x$ac_cv_func_atan2l" = x""yes; then :
42180 cat >>confdefs.h <<_ACEOF
42181 #define HAVE_ATAN2L 1
42189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42190 $as_echo_n "checking for _atan2l declaration... " >&6; }
42191 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42192 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42193 $as_echo_n "(cached) " >&6
42198 ac_cpp='$CXXCPP $CPPFLAGS'
42199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42204 /* end confdefs.h. */
42214 if ac_fn_cxx_try_compile "$LINENO"; then :
42215 glibcxx_cv_func__atan2l_use=yes
42217 glibcxx_cv_func__atan2l_use=no
42219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42221 ac_cpp='$CPP $CPPFLAGS'
42222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42231 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42233 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42234 for ac_func in _atan2l
42236 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42237 if test "x$ac_cv_func__atan2l" = x""yes; then :
42238 cat >>confdefs.h <<_ACEOF
42239 #define HAVE__ATAN2L 1
42252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42253 $as_echo_n "checking for expl declaration... " >&6; }
42254 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42255 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42256 $as_echo_n "(cached) " >&6
42261 ac_cpp='$CXXCPP $CPPFLAGS'
42262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42267 /* end confdefs.h. */
42269 #ifdef HAVE_IEEEFP_H
42270 #include <ieeefp.h>
42281 if ac_fn_cxx_try_compile "$LINENO"; then :
42282 glibcxx_cv_func_expl_use=yes
42284 glibcxx_cv_func_expl_use=no
42286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42288 ac_cpp='$CPP $CPPFLAGS'
42289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42298 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42300 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42301 for ac_func in expl
42303 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42304 if test "x$ac_cv_func_expl" = x""yes; then :
42305 cat >>confdefs.h <<_ACEOF
42306 #define HAVE_EXPL 1
42314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42315 $as_echo_n "checking for _expl declaration... " >&6; }
42316 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42317 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42318 $as_echo_n "(cached) " >&6
42323 ac_cpp='$CXXCPP $CPPFLAGS'
42324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42329 /* end confdefs.h. */
42331 #ifdef HAVE_IEEEFP_H
42332 #include <ieeefp.h>
42343 if ac_fn_cxx_try_compile "$LINENO"; then :
42344 glibcxx_cv_func__expl_use=yes
42346 glibcxx_cv_func__expl_use=no
42348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42350 ac_cpp='$CPP $CPPFLAGS'
42351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42360 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42362 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42363 for ac_func in _expl
42365 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42366 if test "x$ac_cv_func__expl" = x""yes; then :
42367 cat >>confdefs.h <<_ACEOF
42368 #define HAVE__EXPL 1
42381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42382 $as_echo_n "checking for fabsl declaration... " >&6; }
42383 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42384 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42385 $as_echo_n "(cached) " >&6
42390 ac_cpp='$CXXCPP $CPPFLAGS'
42391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42396 /* end confdefs.h. */
42398 #ifdef HAVE_IEEEFP_H
42399 #include <ieeefp.h>
42410 if ac_fn_cxx_try_compile "$LINENO"; then :
42411 glibcxx_cv_func_fabsl_use=yes
42413 glibcxx_cv_func_fabsl_use=no
42415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_cpp='$CPP $CPPFLAGS'
42418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42427 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42429 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42430 for ac_func in fabsl
42432 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42433 if test "x$ac_cv_func_fabsl" = x""yes; then :
42434 cat >>confdefs.h <<_ACEOF
42435 #define HAVE_FABSL 1
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42444 $as_echo_n "checking for _fabsl declaration... " >&6; }
42445 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42446 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42447 $as_echo_n "(cached) " >&6
42452 ac_cpp='$CXXCPP $CPPFLAGS'
42453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42458 /* end confdefs.h. */
42460 #ifdef HAVE_IEEEFP_H
42461 #include <ieeefp.h>
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473 glibcxx_cv_func__fabsl_use=yes
42475 glibcxx_cv_func__fabsl_use=no
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42489 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42491 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42492 for ac_func in _fabsl
42494 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42495 if test "x$ac_cv_func__fabsl" = x""yes; then :
42496 cat >>confdefs.h <<_ACEOF
42497 #define HAVE__FABSL 1
42510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42511 $as_echo_n "checking for fmodl declaration... " >&6; }
42512 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42513 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42514 $as_echo_n "(cached) " >&6
42519 ac_cpp='$CXXCPP $CPPFLAGS'
42520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42525 /* end confdefs.h. */
42535 if ac_fn_cxx_try_compile "$LINENO"; then :
42536 glibcxx_cv_func_fmodl_use=yes
42538 glibcxx_cv_func_fmodl_use=no
42540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42542 ac_cpp='$CPP $CPPFLAGS'
42543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42552 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42554 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42555 for ac_func in fmodl
42557 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42558 if test "x$ac_cv_func_fmodl" = x""yes; then :
42559 cat >>confdefs.h <<_ACEOF
42560 #define HAVE_FMODL 1
42568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42569 $as_echo_n "checking for _fmodl declaration... " >&6; }
42570 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42571 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42572 $as_echo_n "(cached) " >&6
42577 ac_cpp='$CXXCPP $CPPFLAGS'
42578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583 /* end confdefs.h. */
42593 if ac_fn_cxx_try_compile "$LINENO"; then :
42594 glibcxx_cv_func__fmodl_use=yes
42596 glibcxx_cv_func__fmodl_use=no
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42610 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42612 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42613 for ac_func in _fmodl
42615 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42616 if test "x$ac_cv_func__fmodl" = x""yes; then :
42617 cat >>confdefs.h <<_ACEOF
42618 #define HAVE__FMODL 1
42631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42632 $as_echo_n "checking for frexpl declaration... " >&6; }
42633 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42634 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42635 $as_echo_n "(cached) " >&6
42640 ac_cpp='$CXXCPP $CPPFLAGS'
42641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42646 /* end confdefs.h. */
42656 if ac_fn_cxx_try_compile "$LINENO"; then :
42657 glibcxx_cv_func_frexpl_use=yes
42659 glibcxx_cv_func_frexpl_use=no
42661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42663 ac_cpp='$CPP $CPPFLAGS'
42664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42673 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42675 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42676 for ac_func in frexpl
42678 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42679 if test "x$ac_cv_func_frexpl" = x""yes; then :
42680 cat >>confdefs.h <<_ACEOF
42681 #define HAVE_FREXPL 1
42689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42690 $as_echo_n "checking for _frexpl declaration... " >&6; }
42691 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42692 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42693 $as_echo_n "(cached) " >&6
42698 ac_cpp='$CXXCPP $CPPFLAGS'
42699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42704 /* end confdefs.h. */
42714 if ac_fn_cxx_try_compile "$LINENO"; then :
42715 glibcxx_cv_func__frexpl_use=yes
42717 glibcxx_cv_func__frexpl_use=no
42719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42721 ac_cpp='$CPP $CPPFLAGS'
42722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42731 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42733 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42734 for ac_func in _frexpl
42736 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42737 if test "x$ac_cv_func__frexpl" = x""yes; then :
42738 cat >>confdefs.h <<_ACEOF
42739 #define HAVE__FREXPL 1
42752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42753 $as_echo_n "checking for hypotl declaration... " >&6; }
42754 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42755 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42756 $as_echo_n "(cached) " >&6
42761 ac_cpp='$CXXCPP $CPPFLAGS'
42762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42767 /* end confdefs.h. */
42777 if ac_fn_cxx_try_compile "$LINENO"; then :
42778 glibcxx_cv_func_hypotl_use=yes
42780 glibcxx_cv_func_hypotl_use=no
42782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42784 ac_cpp='$CPP $CPPFLAGS'
42785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42794 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42796 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42797 for ac_func in hypotl
42799 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42800 if test "x$ac_cv_func_hypotl" = x""yes; then :
42801 cat >>confdefs.h <<_ACEOF
42802 #define HAVE_HYPOTL 1
42810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42811 $as_echo_n "checking for _hypotl declaration... " >&6; }
42812 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42813 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42814 $as_echo_n "(cached) " >&6
42819 ac_cpp='$CXXCPP $CPPFLAGS'
42820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42825 /* end confdefs.h. */
42835 if ac_fn_cxx_try_compile "$LINENO"; then :
42836 glibcxx_cv_func__hypotl_use=yes
42838 glibcxx_cv_func__hypotl_use=no
42840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42842 ac_cpp='$CPP $CPPFLAGS'
42843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42852 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42854 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42855 for ac_func in _hypotl
42857 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42858 if test "x$ac_cv_func__hypotl" = x""yes; then :
42859 cat >>confdefs.h <<_ACEOF
42860 #define HAVE__HYPOTL 1
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42874 $as_echo_n "checking for ldexpl declaration... " >&6; }
42875 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42876 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42877 $as_echo_n "(cached) " >&6
42882 ac_cpp='$CXXCPP $CPPFLAGS'
42883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42888 /* end confdefs.h. */
42898 if ac_fn_cxx_try_compile "$LINENO"; then :
42899 glibcxx_cv_func_ldexpl_use=yes
42901 glibcxx_cv_func_ldexpl_use=no
42903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42905 ac_cpp='$CPP $CPPFLAGS'
42906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42915 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42917 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42918 for ac_func in ldexpl
42920 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42921 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42922 cat >>confdefs.h <<_ACEOF
42923 #define HAVE_LDEXPL 1
42931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42932 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42933 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42934 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42935 $as_echo_n "(cached) " >&6
42940 ac_cpp='$CXXCPP $CPPFLAGS'
42941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42946 /* end confdefs.h. */
42956 if ac_fn_cxx_try_compile "$LINENO"; then :
42957 glibcxx_cv_func__ldexpl_use=yes
42959 glibcxx_cv_func__ldexpl_use=no
42961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42963 ac_cpp='$CPP $CPPFLAGS'
42964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42973 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42975 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42976 for ac_func in _ldexpl
42978 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42979 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42980 cat >>confdefs.h <<_ACEOF
42981 #define HAVE__LDEXPL 1
42994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42995 $as_echo_n "checking for logl declaration... " >&6; }
42996 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42997 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42998 $as_echo_n "(cached) " >&6
43003 ac_cpp='$CXXCPP $CPPFLAGS'
43004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43009 /* end confdefs.h. */
43011 #ifdef HAVE_IEEEFP_H
43012 #include <ieeefp.h>
43023 if ac_fn_cxx_try_compile "$LINENO"; then :
43024 glibcxx_cv_func_logl_use=yes
43026 glibcxx_cv_func_logl_use=no
43028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43030 ac_cpp='$CPP $CPPFLAGS'
43031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43040 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43042 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43043 for ac_func in logl
43045 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43046 if test "x$ac_cv_func_logl" = x""yes; then :
43047 cat >>confdefs.h <<_ACEOF
43048 #define HAVE_LOGL 1
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43057 $as_echo_n "checking for _logl declaration... " >&6; }
43058 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43059 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43060 $as_echo_n "(cached) " >&6
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43073 #ifdef HAVE_IEEEFP_H
43074 #include <ieeefp.h>
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086 glibcxx_cv_func__logl_use=yes
43088 glibcxx_cv_func__logl_use=no
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43102 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43104 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43105 for ac_func in _logl
43107 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43108 if test "x$ac_cv_func__logl" = x""yes; then :
43109 cat >>confdefs.h <<_ACEOF
43110 #define HAVE__LOGL 1
43123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43124 $as_echo_n "checking for log10l declaration... " >&6; }
43125 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43126 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43127 $as_echo_n "(cached) " >&6
43132 ac_cpp='$CXXCPP $CPPFLAGS'
43133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43138 /* end confdefs.h. */
43140 #ifdef HAVE_IEEEFP_H
43141 #include <ieeefp.h>
43152 if ac_fn_cxx_try_compile "$LINENO"; then :
43153 glibcxx_cv_func_log10l_use=yes
43155 glibcxx_cv_func_log10l_use=no
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43159 ac_cpp='$CPP $CPPFLAGS'
43160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43169 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43171 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43172 for ac_func in log10l
43174 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43175 if test "x$ac_cv_func_log10l" = x""yes; then :
43176 cat >>confdefs.h <<_ACEOF
43177 #define HAVE_LOG10L 1
43185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43186 $as_echo_n "checking for _log10l declaration... " >&6; }
43187 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43188 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43189 $as_echo_n "(cached) " >&6
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200 /* end confdefs.h. */
43202 #ifdef HAVE_IEEEFP_H
43203 #include <ieeefp.h>
43214 if ac_fn_cxx_try_compile "$LINENO"; then :
43215 glibcxx_cv_func__log10l_use=yes
43217 glibcxx_cv_func__log10l_use=no
43219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43221 ac_cpp='$CPP $CPPFLAGS'
43222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43231 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43233 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43234 for ac_func in _log10l
43236 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43237 if test "x$ac_cv_func__log10l" = x""yes; then :
43238 cat >>confdefs.h <<_ACEOF
43239 #define HAVE__LOG10L 1
43252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43253 $as_echo_n "checking for modfl declaration... " >&6; }
43254 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43255 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43256 $as_echo_n "(cached) " >&6
43261 ac_cpp='$CXXCPP $CPPFLAGS'
43262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43267 /* end confdefs.h. */
43277 if ac_fn_cxx_try_compile "$LINENO"; then :
43278 glibcxx_cv_func_modfl_use=yes
43280 glibcxx_cv_func_modfl_use=no
43282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43284 ac_cpp='$CPP $CPPFLAGS'
43285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43294 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43296 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43297 for ac_func in modfl
43299 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43300 if test "x$ac_cv_func_modfl" = x""yes; then :
43301 cat >>confdefs.h <<_ACEOF
43302 #define HAVE_MODFL 1
43310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43311 $as_echo_n "checking for _modfl declaration... " >&6; }
43312 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43313 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43314 $as_echo_n "(cached) " >&6
43319 ac_cpp='$CXXCPP $CPPFLAGS'
43320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43325 /* end confdefs.h. */
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336 glibcxx_cv_func__modfl_use=yes
43338 glibcxx_cv_func__modfl_use=no
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43352 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43354 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43355 for ac_func in _modfl
43357 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43358 if test "x$ac_cv_func__modfl" = x""yes; then :
43359 cat >>confdefs.h <<_ACEOF
43360 #define HAVE__MODFL 1
43373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43374 $as_echo_n "checking for powl declaration... " >&6; }
43375 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43376 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43377 $as_echo_n "(cached) " >&6
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43388 /* end confdefs.h. */
43398 if ac_fn_cxx_try_compile "$LINENO"; then :
43399 glibcxx_cv_func_powl_use=yes
43401 glibcxx_cv_func_powl_use=no
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43415 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43417 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43418 for ac_func in powl
43420 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43421 if test "x$ac_cv_func_powl" = x""yes; then :
43422 cat >>confdefs.h <<_ACEOF
43423 #define HAVE_POWL 1
43431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43432 $as_echo_n "checking for _powl declaration... " >&6; }
43433 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43434 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43435 $as_echo_n "(cached) " >&6
43440 ac_cpp='$CXXCPP $CPPFLAGS'
43441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43446 /* end confdefs.h. */
43456 if ac_fn_cxx_try_compile "$LINENO"; then :
43457 glibcxx_cv_func__powl_use=yes
43459 glibcxx_cv_func__powl_use=no
43461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43463 ac_cpp='$CPP $CPPFLAGS'
43464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43473 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43475 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43476 for ac_func in _powl
43478 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43479 if test "x$ac_cv_func__powl" = x""yes; then :
43480 cat >>confdefs.h <<_ACEOF
43481 #define HAVE__POWL 1
43494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43495 $as_echo_n "checking for sqrtl declaration... " >&6; }
43496 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43497 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43498 $as_echo_n "(cached) " >&6
43503 ac_cpp='$CXXCPP $CPPFLAGS'
43504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43509 /* end confdefs.h. */
43511 #ifdef HAVE_IEEEFP_H
43512 #include <ieeefp.h>
43523 if ac_fn_cxx_try_compile "$LINENO"; then :
43524 glibcxx_cv_func_sqrtl_use=yes
43526 glibcxx_cv_func_sqrtl_use=no
43528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43530 ac_cpp='$CPP $CPPFLAGS'
43531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43540 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43542 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43543 for ac_func in sqrtl
43545 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43546 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43547 cat >>confdefs.h <<_ACEOF
43548 #define HAVE_SQRTL 1
43556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43557 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43558 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43559 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43560 $as_echo_n "(cached) " >&6
43565 ac_cpp='$CXXCPP $CPPFLAGS'
43566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43571 /* end confdefs.h. */
43573 #ifdef HAVE_IEEEFP_H
43574 #include <ieeefp.h>
43585 if ac_fn_cxx_try_compile "$LINENO"; then :
43586 glibcxx_cv_func__sqrtl_use=yes
43588 glibcxx_cv_func__sqrtl_use=no
43590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43592 ac_cpp='$CPP $CPPFLAGS'
43593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43602 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43604 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43605 for ac_func in _sqrtl
43607 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43608 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43609 cat >>confdefs.h <<_ACEOF
43610 #define HAVE__SQRTL 1
43623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43624 $as_echo_n "checking for sincosl declaration... " >&6; }
43625 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43626 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43627 $as_echo_n "(cached) " >&6
43632 ac_cpp='$CXXCPP $CPPFLAGS'
43633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43638 /* end confdefs.h. */
43648 if ac_fn_cxx_try_compile "$LINENO"; then :
43649 glibcxx_cv_func_sincosl_use=yes
43651 glibcxx_cv_func_sincosl_use=no
43653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43655 ac_cpp='$CPP $CPPFLAGS'
43656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43665 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43667 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43668 for ac_func in sincosl
43670 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43671 if test "x$ac_cv_func_sincosl" = x""yes; then :
43672 cat >>confdefs.h <<_ACEOF
43673 #define HAVE_SINCOSL 1
43681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43682 $as_echo_n "checking for _sincosl declaration... " >&6; }
43683 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43684 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43685 $as_echo_n "(cached) " >&6
43690 ac_cpp='$CXXCPP $CPPFLAGS'
43691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43696 /* end confdefs.h. */
43706 if ac_fn_cxx_try_compile "$LINENO"; then :
43707 glibcxx_cv_func__sincosl_use=yes
43709 glibcxx_cv_func__sincosl_use=no
43711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43713 ac_cpp='$CPP $CPPFLAGS'
43714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43723 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43725 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43726 for ac_func in _sincosl
43728 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43729 if test "x$ac_cv_func__sincosl" = x""yes; then :
43730 cat >>confdefs.h <<_ACEOF
43731 #define HAVE__SINCOSL 1
43744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43745 $as_echo_n "checking for finitel declaration... " >&6; }
43746 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43747 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43748 $as_echo_n "(cached) " >&6
43753 ac_cpp='$CXXCPP $CPPFLAGS'
43754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43759 /* end confdefs.h. */
43761 #ifdef HAVE_IEEEFP_H
43762 #include <ieeefp.h>
43773 if ac_fn_cxx_try_compile "$LINENO"; then :
43774 glibcxx_cv_func_finitel_use=yes
43776 glibcxx_cv_func_finitel_use=no
43778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43780 ac_cpp='$CPP $CPPFLAGS'
43781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43790 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43792 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43793 for ac_func in finitel
43795 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43796 if test "x$ac_cv_func_finitel" = x""yes; then :
43797 cat >>confdefs.h <<_ACEOF
43798 #define HAVE_FINITEL 1
43806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43807 $as_echo_n "checking for _finitel declaration... " >&6; }
43808 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43809 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43810 $as_echo_n "(cached) " >&6
43815 ac_cpp='$CXXCPP $CPPFLAGS'
43816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43821 /* end confdefs.h. */
43823 #ifdef HAVE_IEEEFP_H
43824 #include <ieeefp.h>
43835 if ac_fn_cxx_try_compile "$LINENO"; then :
43836 glibcxx_cv_func__finitel_use=yes
43838 glibcxx_cv_func__finitel_use=no
43840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43842 ac_cpp='$CPP $CPPFLAGS'
43843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43852 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43854 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43855 for ac_func in _finitel
43857 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43858 if test "x$ac_cv_func__finitel" = x""yes; then :
43859 cat >>confdefs.h <<_ACEOF
43860 #define HAVE__FINITEL 1
43872 LIBS="$ac_save_LIBS"
43873 CXXFLAGS="$ac_save_CXXFLAGS"
43876 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43877 ac_save_CXXFLAGS="$CXXFLAGS"
43878 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43882 $as_echo_n "checking for strtold declaration... " >&6; }
43883 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43884 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43885 $as_echo_n "(cached) " >&6
43890 ac_cpp='$CXXCPP $CPPFLAGS'
43891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43896 /* end confdefs.h. */
43897 #include <stdlib.h>
43906 if ac_fn_cxx_try_compile "$LINENO"; then :
43907 glibcxx_cv_func_strtold_use=yes
43909 glibcxx_cv_func_strtold_use=no
43911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43913 ac_cpp='$CPP $CPPFLAGS'
43914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43923 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43924 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43925 for ac_func in strtold
43927 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43928 if test "x$ac_cv_func_strtold" = x""yes; then :
43929 cat >>confdefs.h <<_ACEOF
43930 #define HAVE_STRTOLD 1
43941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43942 $as_echo_n "checking for strtof declaration... " >&6; }
43943 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43944 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43945 $as_echo_n "(cached) " >&6
43950 ac_cpp='$CXXCPP $CPPFLAGS'
43951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43956 /* end confdefs.h. */
43957 #include <stdlib.h>
43966 if ac_fn_cxx_try_compile "$LINENO"; then :
43967 glibcxx_cv_func_strtof_use=yes
43969 glibcxx_cv_func_strtof_use=no
43971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43973 ac_cpp='$CPP $CPPFLAGS'
43974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43983 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43984 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43985 for ac_func in strtof
43987 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43988 if test "x$ac_cv_func_strtof" = x""yes; then :
43989 cat >>confdefs.h <<_ACEOF
43990 #define HAVE_STRTOF 1
44001 CXXFLAGS="$ac_save_CXXFLAGS"
44006 # GLIBCXX_CHECK_MATH_SUPPORT
44007 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44009 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44011 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44013 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44015 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44020 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44023 # If we're not using GNU ld, then there's no point in even trying these
44024 # tests. Check for that first. We should have already tested for gld
44025 # by now (in libtool), but require it now just to be safe...
44026 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44027 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44031 # The name set by libtool depends on the version of libtool. Shame on us
44032 # for depending on an impl detail, but c'est la vie. Older versions used
44033 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44034 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44035 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44036 # set (hence we're using an older libtool), then set it.
44037 if test x${with_gnu_ld+set} != xset; then
44038 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44039 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44042 with_gnu_ld=$ac_cv_prog_gnu_ld
44046 # Start by getting the version number. I think the libtool test already
44047 # does some of this, but throws away the result.
44048 glibcxx_ld_is_gold=no
44049 if test x"$with_gnu_ld" = x"yes"; then
44050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44051 $as_echo_n "checking for ld version... " >&6; }
44053 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44054 glibcxx_ld_is_gold=yes
44056 ldver=`$LD --version 2>/dev/null |
44057 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44059 glibcxx_gnu_ld_version=`echo $ldver | \
44060 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44062 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44065 # Set --gc-sections.
44066 glibcxx_have_gc_sections=no
44067 if test "$glibcxx_ld_is_gold" = "yes"; then
44068 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44069 glibcxx_have_gc_sections=yes
44072 glibcxx_gcsections_min_ld=21602
44073 if test x"$with_gnu_ld" = x"yes" &&
44074 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44075 glibcxx_have_gc_sections=yes
44078 if test "$glibcxx_have_gc_sections" = "yes"; then
44079 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44080 # NB: This flag only works reliably after 2.16.1. Configure tests
44081 # for this are difficult, so hard wire a value that should work.
44083 ac_test_CFLAGS="${CFLAGS+set}"
44084 ac_save_CFLAGS="$CFLAGS"
44085 CFLAGS='-Wl,--gc-sections'
44087 # Check for -Wl,--gc-sections
44088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44089 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44090 if test x$gcc_no_link = xyes; then
44091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44094 /* end confdefs.h. */
44095 int one(void) { return 1; }
44096 int two(void) { return 2; }
44106 if ac_fn_c_try_link "$LINENO"; then :
44111 rm -f core conftest.err conftest.$ac_objext \
44112 conftest$ac_exeext conftest.$ac_ext
44113 if test "$ac_gcsections" = "yes"; then
44116 if $CC -c conftest.c; then
44117 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44118 grep "Warning: gc-sections option ignored" > /dev/null; then
44122 rm -f conftest.c conftest.o conftest
44124 if test "$ac_gcsections" = "yes"; then
44125 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44128 $as_echo "$ac_gcsections" >&6; }
44130 if test "$ac_test_CFLAGS" = set; then
44131 CFLAGS="$ac_save_CFLAGS"
44133 # this is the suspicious part
44139 # Note this is only for shared objects.
44141 if test x"$with_gnu_ld" = x"yes"; then
44142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44143 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44144 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44145 if test -n "$cxx_z_relo"; then
44146 OPT_LDFLAGS="-Wl,-z,relro"
44149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44150 $as_echo "$ac_ld_relro" >&6; }
44153 # Set linker optimization flags.
44154 if test x"$with_gnu_ld" = x"yes"; then
44155 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44161 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44163 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44165 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44167 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44169 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44171 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44173 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44175 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44177 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44180 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44182 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44184 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44186 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44188 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44190 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44192 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44194 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44196 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44198 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44200 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44202 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44204 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44206 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44208 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44210 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44212 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44214 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44216 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44218 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44220 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44222 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44224 if test x"long_double_math_on_this_cpu" = x"yes"; then
44225 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44227 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44229 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44234 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44237 # If we're not using GNU ld, then there's no point in even trying these
44238 # tests. Check for that first. We should have already tested for gld
44239 # by now (in libtool), but require it now just to be safe...
44240 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44241 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44245 # The name set by libtool depends on the version of libtool. Shame on us
44246 # for depending on an impl detail, but c'est la vie. Older versions used
44247 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44248 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44249 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44250 # set (hence we're using an older libtool), then set it.
44251 if test x${with_gnu_ld+set} != xset; then
44252 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44253 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44256 with_gnu_ld=$ac_cv_prog_gnu_ld
44260 # Start by getting the version number. I think the libtool test already
44261 # does some of this, but throws away the result.
44262 glibcxx_ld_is_gold=no
44263 if test x"$with_gnu_ld" = x"yes"; then
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44265 $as_echo_n "checking for ld version... " >&6; }
44267 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44268 glibcxx_ld_is_gold=yes
44270 ldver=`$LD --version 2>/dev/null |
44271 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44273 glibcxx_gnu_ld_version=`echo $ldver | \
44274 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44276 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44279 # Set --gc-sections.
44280 glibcxx_have_gc_sections=no
44281 if test "$glibcxx_ld_is_gold" = "yes"; then
44282 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44283 glibcxx_have_gc_sections=yes
44286 glibcxx_gcsections_min_ld=21602
44287 if test x"$with_gnu_ld" = x"yes" &&
44288 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44289 glibcxx_have_gc_sections=yes
44292 if test "$glibcxx_have_gc_sections" = "yes"; then
44293 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44294 # NB: This flag only works reliably after 2.16.1. Configure tests
44295 # for this are difficult, so hard wire a value that should work.
44297 ac_test_CFLAGS="${CFLAGS+set}"
44298 ac_save_CFLAGS="$CFLAGS"
44299 CFLAGS='-Wl,--gc-sections'
44301 # Check for -Wl,--gc-sections
44302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44303 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44304 if test x$gcc_no_link = xyes; then
44305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44308 /* end confdefs.h. */
44309 int one(void) { return 1; }
44310 int two(void) { return 2; }
44320 if ac_fn_c_try_link "$LINENO"; then :
44325 rm -f core conftest.err conftest.$ac_objext \
44326 conftest$ac_exeext conftest.$ac_ext
44327 if test "$ac_gcsections" = "yes"; then
44330 if $CC -c conftest.c; then
44331 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44332 grep "Warning: gc-sections option ignored" > /dev/null; then
44336 rm -f conftest.c conftest.o conftest
44338 if test "$ac_gcsections" = "yes"; then
44339 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44342 $as_echo "$ac_gcsections" >&6; }
44344 if test "$ac_test_CFLAGS" = set; then
44345 CFLAGS="$ac_save_CFLAGS"
44347 # this is the suspicious part
44353 # Note this is only for shared objects.
44355 if test x"$with_gnu_ld" = x"yes"; then
44356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44357 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44358 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44359 if test -n "$cxx_z_relo"; then
44360 OPT_LDFLAGS="-Wl,-z,relro"
44363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44364 $as_echo "$ac_ld_relro" >&6; }
44367 # Set linker optimization flags.
44368 if test x"$with_gnu_ld" = x"yes"; then
44369 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44376 # GLIBCXX_CHECK_MATH_SUPPORT
44377 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44379 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44381 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44383 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44385 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44387 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44389 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44391 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44393 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44395 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44397 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44399 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44401 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44403 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44405 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44407 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44409 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44411 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44413 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44415 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44417 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44420 # GLIBCXX_CHECK_STDLIB_SUPPORT
44421 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44426 # Check whether --enable-tls was given.
44427 if test "${enable_tls+set}" = set; then :
44428 enableval=$enable_tls;
44429 case "$enableval" in
44431 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44440 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44441 if test "${gcc_cv_have_tls+set}" = set; then :
44442 $as_echo_n "(cached) " >&6
44445 if test "$cross_compiling" = yes; then :
44446 if test x$gcc_no_link = xyes; then
44447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450 /* end confdefs.h. */
44451 __thread int a; int b; int main() { return a = b; }
44453 if ac_fn_c_try_link "$LINENO"; then :
44454 chktls_save_LDFLAGS="$LDFLAGS"
44457 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44460 chktls_save_CFLAGS="$CFLAGS"
44461 CFLAGS="-fPIC $CFLAGS"
44462 if test x$gcc_no_link = xyes; then
44463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44466 /* end confdefs.h. */
44467 int f() { return 0; }
44469 if ac_fn_c_try_link "$LINENO"; then :
44470 if test x$gcc_no_link = xyes; then
44471 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44474 /* end confdefs.h. */
44475 __thread int a; int b; int f() { return a = b; }
44477 if ac_fn_c_try_link "$LINENO"; then :
44478 gcc_cv_have_tls=yes
44482 rm -f core conftest.err conftest.$ac_objext \
44483 conftest$ac_exeext conftest.$ac_ext
44485 gcc_cv_have_tls=yes
44487 rm -f core conftest.err conftest.$ac_objext \
44488 conftest$ac_exeext conftest.$ac_ext
44489 CFLAGS="$chktls_save_CFLAGS"
44490 LDFLAGS="$chktls_save_LDFLAGS"
44494 rm -f core conftest.err conftest.$ac_objext \
44495 conftest$ac_exeext conftest.$ac_ext
44499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44500 /* end confdefs.h. */
44501 __thread int a; int b; int main() { return a = b; }
44503 if ac_fn_c_try_run "$LINENO"; then :
44504 chktls_save_LDFLAGS="$LDFLAGS"
44505 LDFLAGS="-static $LDFLAGS"
44506 if test x$gcc_no_link = xyes; then
44507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44510 /* end confdefs.h. */
44511 int main() { return 0; }
44513 if ac_fn_c_try_link "$LINENO"; then :
44514 if test "$cross_compiling" = yes; then :
44515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44517 as_fn_error "cannot run test program while cross compiling
44518 See \`config.log' for more details." "$LINENO" 5; }
44520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44521 /* end confdefs.h. */
44522 __thread int a; int b; int main() { return a = b; }
44524 if ac_fn_c_try_run "$LINENO"; then :
44525 gcc_cv_have_tls=yes
44529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44530 conftest.$ac_objext conftest.beam conftest.$ac_ext
44534 gcc_cv_have_tls=yes
44536 rm -f core conftest.err conftest.$ac_objext \
44537 conftest$ac_exeext conftest.$ac_ext
44538 LDFLAGS="$chktls_save_LDFLAGS"
44539 if test $gcc_cv_have_tls = yes; then
44540 chktls_save_CFLAGS="$CFLAGS"
44541 thread_CFLAGS=failed
44542 for flag in '' '-pthread' '-lpthread'; do
44543 CFLAGS="$flag $chktls_save_CFLAGS"
44544 if test x$gcc_no_link = xyes; then
44545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44548 /* end confdefs.h. */
44549 #include <pthread.h>
44550 void *g(void *d) { return NULL; }
44554 pthread_t t; pthread_create(&t,NULL,g,NULL);
44559 if ac_fn_c_try_link "$LINENO"; then :
44560 thread_CFLAGS="$flag"
44562 rm -f core conftest.err conftest.$ac_objext \
44563 conftest$ac_exeext conftest.$ac_ext
44564 if test "X$thread_CFLAGS" != Xfailed; then
44568 CFLAGS="$chktls_save_CFLAGS"
44569 if test "X$thread_CFLAGS" != Xfailed; then
44570 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44571 if test "$cross_compiling" = yes; then :
44572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44574 as_fn_error "cannot run test program while cross compiling
44575 See \`config.log' for more details." "$LINENO" 5; }
44577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44578 /* end confdefs.h. */
44579 #include <pthread.h>
44581 static int *volatile a_in_other_thread;
44583 thread_func (void *arg)
44585 a_in_other_thread = &a;
44592 void *thread_retval;
44593 int *volatile a_in_main_thread;
44594 a_in_main_thread = &a;
44595 if (pthread_create (&thread, (pthread_attr_t *)0,
44596 thread_func, (void *)0))
44598 if (pthread_join (thread, &thread_retval))
44600 return (a_in_other_thread == a_in_main_thread);
44605 if ac_fn_c_try_run "$LINENO"; then :
44606 gcc_cv_have_tls=yes
44610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44611 conftest.$ac_objext conftest.beam conftest.$ac_ext
44614 CFLAGS="$chktls_save_CFLAGS"
44620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44621 conftest.$ac_objext conftest.beam conftest.$ac_ext
44625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44626 $as_echo "$gcc_cv_have_tls" >&6; }
44627 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44629 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44634 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44636 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44638 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44640 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44642 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44647 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44649 # All these tests are for C++; save the language and the compiler flags.
44650 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44651 # found in GLIBCXX_CONFIGURE.
44654 ac_cpp='$CXXCPP $CPPFLAGS'
44655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44659 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44660 ac_save_CXXFLAGS="$CXXFLAGS"
44662 # Check for maintainer-mode bits.
44663 if test x"$USE_MAINTAINER_MODE" = xno; then
44669 # Check for -ffunction-sections -fdata-sections
44670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44671 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44672 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44674 /* end confdefs.h. */
44675 int foo; void bar() { };
44684 if ac_fn_cxx_try_compile "$LINENO"; then :
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690 if test "$ac_test_CXXFLAGS" = set; then
44691 CXXFLAGS="$ac_save_CXXFLAGS"
44693 # this is the suspicious part
44696 if test x"$ac_fdsections" = x"yes"; then
44697 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44700 $as_echo "$ac_fdsections" >&6; }
44703 ac_cpp='$CPP $CPPFLAGS'
44704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44712 # If we're not using GNU ld, then there's no point in even trying these
44713 # tests. Check for that first. We should have already tested for gld
44714 # by now (in libtool), but require it now just to be safe...
44715 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44716 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44720 # The name set by libtool depends on the version of libtool. Shame on us
44721 # for depending on an impl detail, but c'est la vie. Older versions used
44722 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44723 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44724 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44725 # set (hence we're using an older libtool), then set it.
44726 if test x${with_gnu_ld+set} != xset; then
44727 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44728 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44731 with_gnu_ld=$ac_cv_prog_gnu_ld
44735 # Start by getting the version number. I think the libtool test already
44736 # does some of this, but throws away the result.
44737 glibcxx_ld_is_gold=no
44738 if test x"$with_gnu_ld" = x"yes"; then
44739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44740 $as_echo_n "checking for ld version... " >&6; }
44742 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44743 glibcxx_ld_is_gold=yes
44745 ldver=`$LD --version 2>/dev/null |
44746 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44748 glibcxx_gnu_ld_version=`echo $ldver | \
44749 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44754 # Set --gc-sections.
44755 glibcxx_have_gc_sections=no
44756 if test "$glibcxx_ld_is_gold" = "yes"; then
44757 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44758 glibcxx_have_gc_sections=yes
44761 glibcxx_gcsections_min_ld=21602
44762 if test x"$with_gnu_ld" = x"yes" &&
44763 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44764 glibcxx_have_gc_sections=yes
44767 if test "$glibcxx_have_gc_sections" = "yes"; then
44768 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44769 # NB: This flag only works reliably after 2.16.1. Configure tests
44770 # for this are difficult, so hard wire a value that should work.
44772 ac_test_CFLAGS="${CFLAGS+set}"
44773 ac_save_CFLAGS="$CFLAGS"
44774 CFLAGS='-Wl,--gc-sections'
44776 # Check for -Wl,--gc-sections
44777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44779 if test x$gcc_no_link = xyes; then
44780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44783 /* end confdefs.h. */
44784 int one(void) { return 1; }
44785 int two(void) { return 2; }
44795 if ac_fn_c_try_link "$LINENO"; then :
44800 rm -f core conftest.err conftest.$ac_objext \
44801 conftest$ac_exeext conftest.$ac_ext
44802 if test "$ac_gcsections" = "yes"; then
44805 if $CC -c conftest.c; then
44806 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44807 grep "Warning: gc-sections option ignored" > /dev/null; then
44811 rm -f conftest.c conftest.o conftest
44813 if test "$ac_gcsections" = "yes"; then
44814 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44817 $as_echo "$ac_gcsections" >&6; }
44819 if test "$ac_test_CFLAGS" = set; then
44820 CFLAGS="$ac_save_CFLAGS"
44822 # this is the suspicious part
44828 # Note this is only for shared objects.
44830 if test x"$with_gnu_ld" = x"yes"; then
44831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44833 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44834 if test -n "$cxx_z_relo"; then
44835 OPT_LDFLAGS="-Wl,-z,relro"
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44839 $as_echo "$ac_ld_relro" >&6; }
44842 # Set linker optimization flags.
44843 if test x"$with_gnu_ld" = x"yes"; then
44844 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44851 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44852 ac_save_CXXFLAGS="$CXXFLAGS"
44853 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44856 $as_echo_n "checking for sin in -lm... " >&6; }
44857 if test "${ac_cv_lib_m_sin+set}" = set; then :
44858 $as_echo_n "(cached) " >&6
44860 ac_check_lib_save_LIBS=$LIBS
44862 if test x$gcc_no_link = xyes; then
44863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44866 /* end confdefs.h. */
44868 /* Override any GCC internal prototype to avoid an error.
44869 Use char because int might match the return type of a GCC
44870 builtin and then its argument prototype would still apply. */
44883 if ac_fn_c_try_link "$LINENO"; then :
44884 ac_cv_lib_m_sin=yes
44888 rm -f core conftest.err conftest.$ac_objext \
44889 conftest$ac_exeext conftest.$ac_ext
44890 LIBS=$ac_check_lib_save_LIBS
44892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44893 $as_echo "$ac_cv_lib_m_sin" >&6; }
44894 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44898 ac_save_LIBS="$LIBS"
44903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44904 $as_echo_n "checking for isinf declaration... " >&6; }
44905 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44906 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44907 $as_echo_n "(cached) " >&6
44912 ac_cpp='$CXXCPP $CPPFLAGS'
44913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44918 /* end confdefs.h. */
44920 #ifdef HAVE_IEEEFP_H
44921 #include <ieeefp.h>
44932 if ac_fn_cxx_try_compile "$LINENO"; then :
44933 glibcxx_cv_func_isinf_use=yes
44935 glibcxx_cv_func_isinf_use=no
44937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44949 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44951 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44952 for ac_func in isinf
44954 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44955 if test "x$ac_cv_func_isinf" = x""yes; then :
44956 cat >>confdefs.h <<_ACEOF
44957 #define HAVE_ISINF 1
44965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44966 $as_echo_n "checking for _isinf declaration... " >&6; }
44967 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44968 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44969 $as_echo_n "(cached) " >&6
44974 ac_cpp='$CXXCPP $CPPFLAGS'
44975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44980 /* end confdefs.h. */
44982 #ifdef HAVE_IEEEFP_H
44983 #include <ieeefp.h>
44994 if ac_fn_cxx_try_compile "$LINENO"; then :
44995 glibcxx_cv_func__isinf_use=yes
44997 glibcxx_cv_func__isinf_use=no
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45001 ac_cpp='$CPP $CPPFLAGS'
45002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45011 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45013 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45014 for ac_func in _isinf
45016 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45017 if test "x$ac_cv_func__isinf" = x""yes; then :
45018 cat >>confdefs.h <<_ACEOF
45019 #define HAVE__ISINF 1
45032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45033 $as_echo_n "checking for isnan declaration... " >&6; }
45034 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45035 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45036 $as_echo_n "(cached) " >&6
45041 ac_cpp='$CXXCPP $CPPFLAGS'
45042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45047 /* end confdefs.h. */
45049 #ifdef HAVE_IEEEFP_H
45050 #include <ieeefp.h>
45061 if ac_fn_cxx_try_compile "$LINENO"; then :
45062 glibcxx_cv_func_isnan_use=yes
45064 glibcxx_cv_func_isnan_use=no
45066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45068 ac_cpp='$CPP $CPPFLAGS'
45069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45078 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45080 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45081 for ac_func in isnan
45083 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45084 if test "x$ac_cv_func_isnan" = x""yes; then :
45085 cat >>confdefs.h <<_ACEOF
45086 #define HAVE_ISNAN 1
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45095 $as_echo_n "checking for _isnan declaration... " >&6; }
45096 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45097 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45098 $as_echo_n "(cached) " >&6
45103 ac_cpp='$CXXCPP $CPPFLAGS'
45104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45109 /* end confdefs.h. */
45111 #ifdef HAVE_IEEEFP_H
45112 #include <ieeefp.h>
45123 if ac_fn_cxx_try_compile "$LINENO"; then :
45124 glibcxx_cv_func__isnan_use=yes
45126 glibcxx_cv_func__isnan_use=no
45128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45130 ac_cpp='$CPP $CPPFLAGS'
45131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45140 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45142 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45143 for ac_func in _isnan
45145 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45146 if test "x$ac_cv_func__isnan" = x""yes; then :
45147 cat >>confdefs.h <<_ACEOF
45148 #define HAVE__ISNAN 1
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45162 $as_echo_n "checking for finite declaration... " >&6; }
45163 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45164 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45165 $as_echo_n "(cached) " >&6
45170 ac_cpp='$CXXCPP $CPPFLAGS'
45171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45176 /* end confdefs.h. */
45178 #ifdef HAVE_IEEEFP_H
45179 #include <ieeefp.h>
45190 if ac_fn_cxx_try_compile "$LINENO"; then :
45191 glibcxx_cv_func_finite_use=yes
45193 glibcxx_cv_func_finite_use=no
45195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45197 ac_cpp='$CPP $CPPFLAGS'
45198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45207 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45209 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45210 for ac_func in finite
45212 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45213 if test "x$ac_cv_func_finite" = x""yes; then :
45214 cat >>confdefs.h <<_ACEOF
45215 #define HAVE_FINITE 1
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45224 $as_echo_n "checking for _finite declaration... " >&6; }
45225 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45226 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45227 $as_echo_n "(cached) " >&6
45232 ac_cpp='$CXXCPP $CPPFLAGS'
45233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45238 /* end confdefs.h. */
45240 #ifdef HAVE_IEEEFP_H
45241 #include <ieeefp.h>
45252 if ac_fn_cxx_try_compile "$LINENO"; then :
45253 glibcxx_cv_func__finite_use=yes
45255 glibcxx_cv_func__finite_use=no
45257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45269 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45271 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45272 for ac_func in _finite
45274 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45275 if test "x$ac_cv_func__finite" = x""yes; then :
45276 cat >>confdefs.h <<_ACEOF
45277 #define HAVE__FINITE 1
45290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45291 $as_echo_n "checking for sincos declaration... " >&6; }
45292 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45293 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45294 $as_echo_n "(cached) " >&6
45299 ac_cpp='$CXXCPP $CPPFLAGS'
45300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305 /* end confdefs.h. */
45315 if ac_fn_cxx_try_compile "$LINENO"; then :
45316 glibcxx_cv_func_sincos_use=yes
45318 glibcxx_cv_func_sincos_use=no
45320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45322 ac_cpp='$CPP $CPPFLAGS'
45323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45332 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45334 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45335 for ac_func in sincos
45337 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45338 if test "x$ac_cv_func_sincos" = x""yes; then :
45339 cat >>confdefs.h <<_ACEOF
45340 #define HAVE_SINCOS 1
45348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45349 $as_echo_n "checking for _sincos declaration... " >&6; }
45350 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45351 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45352 $as_echo_n "(cached) " >&6
45357 ac_cpp='$CXXCPP $CPPFLAGS'
45358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45363 /* end confdefs.h. */
45373 if ac_fn_cxx_try_compile "$LINENO"; then :
45374 glibcxx_cv_func__sincos_use=yes
45376 glibcxx_cv_func__sincos_use=no
45378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45380 ac_cpp='$CPP $CPPFLAGS'
45381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45390 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45392 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45393 for ac_func in _sincos
45395 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45396 if test "x$ac_cv_func__sincos" = x""yes; then :
45397 cat >>confdefs.h <<_ACEOF
45398 #define HAVE__SINCOS 1
45411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45412 $as_echo_n "checking for fpclass declaration... " >&6; }
45413 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45414 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45415 $as_echo_n "(cached) " >&6
45420 ac_cpp='$CXXCPP $CPPFLAGS'
45421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45426 /* end confdefs.h. */
45428 #ifdef HAVE_IEEEFP_H
45429 #include <ieeefp.h>
45440 if ac_fn_cxx_try_compile "$LINENO"; then :
45441 glibcxx_cv_func_fpclass_use=yes
45443 glibcxx_cv_func_fpclass_use=no
45445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45447 ac_cpp='$CPP $CPPFLAGS'
45448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45457 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45459 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45460 for ac_func in fpclass
45462 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45463 if test "x$ac_cv_func_fpclass" = x""yes; then :
45464 cat >>confdefs.h <<_ACEOF
45465 #define HAVE_FPCLASS 1
45473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45474 $as_echo_n "checking for _fpclass declaration... " >&6; }
45475 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45476 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45477 $as_echo_n "(cached) " >&6
45482 ac_cpp='$CXXCPP $CPPFLAGS'
45483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45488 /* end confdefs.h. */
45490 #ifdef HAVE_IEEEFP_H
45491 #include <ieeefp.h>
45502 if ac_fn_cxx_try_compile "$LINENO"; then :
45503 glibcxx_cv_func__fpclass_use=yes
45505 glibcxx_cv_func__fpclass_use=no
45507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45509 ac_cpp='$CPP $CPPFLAGS'
45510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45519 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45521 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45522 for ac_func in _fpclass
45524 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45525 if test "x$ac_cv_func__fpclass" = x""yes; then :
45526 cat >>confdefs.h <<_ACEOF
45527 #define HAVE__FPCLASS 1
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45541 $as_echo_n "checking for qfpclass declaration... " >&6; }
45542 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45543 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45544 $as_echo_n "(cached) " >&6
45549 ac_cpp='$CXXCPP $CPPFLAGS'
45550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45555 /* end confdefs.h. */
45557 #ifdef HAVE_IEEEFP_H
45558 #include <ieeefp.h>
45569 if ac_fn_cxx_try_compile "$LINENO"; then :
45570 glibcxx_cv_func_qfpclass_use=yes
45572 glibcxx_cv_func_qfpclass_use=no
45574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45576 ac_cpp='$CPP $CPPFLAGS'
45577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45586 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45588 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45589 for ac_func in qfpclass
45591 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45592 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45593 cat >>confdefs.h <<_ACEOF
45594 #define HAVE_QFPCLASS 1
45602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45603 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45604 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45605 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45606 $as_echo_n "(cached) " >&6
45611 ac_cpp='$CXXCPP $CPPFLAGS'
45612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45617 /* end confdefs.h. */
45619 #ifdef HAVE_IEEEFP_H
45620 #include <ieeefp.h>
45631 if ac_fn_cxx_try_compile "$LINENO"; then :
45632 glibcxx_cv_func__qfpclass_use=yes
45634 glibcxx_cv_func__qfpclass_use=no
45636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45638 ac_cpp='$CPP $CPPFLAGS'
45639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45648 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45650 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45651 for ac_func in _qfpclass
45653 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45654 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45655 cat >>confdefs.h <<_ACEOF
45656 #define HAVE__QFPCLASS 1
45669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45670 $as_echo_n "checking for hypot declaration... " >&6; }
45671 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45672 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45673 $as_echo_n "(cached) " >&6
45678 ac_cpp='$CXXCPP $CPPFLAGS'
45679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45684 /* end confdefs.h. */
45694 if ac_fn_cxx_try_compile "$LINENO"; then :
45695 glibcxx_cv_func_hypot_use=yes
45697 glibcxx_cv_func_hypot_use=no
45699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45701 ac_cpp='$CPP $CPPFLAGS'
45702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45711 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45713 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45714 for ac_func in hypot
45716 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45717 if test "x$ac_cv_func_hypot" = x""yes; then :
45718 cat >>confdefs.h <<_ACEOF
45719 #define HAVE_HYPOT 1
45727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45728 $as_echo_n "checking for _hypot declaration... " >&6; }
45729 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45730 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45731 $as_echo_n "(cached) " >&6
45736 ac_cpp='$CXXCPP $CPPFLAGS'
45737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45742 /* end confdefs.h. */
45752 if ac_fn_cxx_try_compile "$LINENO"; then :
45753 glibcxx_cv_func__hypot_use=yes
45755 glibcxx_cv_func__hypot_use=no
45757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45759 ac_cpp='$CPP $CPPFLAGS'
45760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45769 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45771 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45772 for ac_func in _hypot
45774 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45775 if test "x$ac_cv_func__hypot" = x""yes; then :
45776 cat >>confdefs.h <<_ACEOF
45777 #define HAVE__HYPOT 1
45790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45791 $as_echo_n "checking for float trig functions... " >&6; }
45792 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45793 $as_echo_n "(cached) " >&6
45798 ac_cpp='$CXXCPP $CPPFLAGS'
45799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45804 /* end confdefs.h. */
45809 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45814 if ac_fn_cxx_try_compile "$LINENO"; then :
45815 glibcxx_cv_func_float_trig_use=yes
45817 glibcxx_cv_func_float_trig_use=no
45819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45821 ac_cpp='$CPP $CPPFLAGS'
45822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45829 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45830 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45831 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45835 eval as_val=\$$as_ac_var
45836 if test "x$as_val" = x""yes; then :
45837 cat >>confdefs.h <<_ACEOF
45838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45846 $as_echo_n "checking for _float trig functions... " >&6; }
45847 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45848 $as_echo_n "(cached) " >&6
45853 ac_cpp='$CXXCPP $CPPFLAGS'
45854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45859 /* end confdefs.h. */
45864 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45869 if ac_fn_cxx_try_compile "$LINENO"; then :
45870 glibcxx_cv_func__float_trig_use=yes
45872 glibcxx_cv_func__float_trig_use=no
45874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45876 ac_cpp='$CPP $CPPFLAGS'
45877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45884 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45885 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45886 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45890 eval as_val=\$$as_ac_var
45891 if test "x$as_val" = x""yes; then :
45892 cat >>confdefs.h <<_ACEOF
45893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45907 $as_echo_n "checking for float round functions... " >&6; }
45908 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45909 $as_echo_n "(cached) " >&6
45914 ac_cpp='$CXXCPP $CPPFLAGS'
45915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45920 /* end confdefs.h. */
45925 ceilf (0); floorf (0);
45930 if ac_fn_cxx_try_compile "$LINENO"; then :
45931 glibcxx_cv_func_float_round_use=yes
45933 glibcxx_cv_func_float_round_use=no
45935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45937 ac_cpp='$CPP $CPPFLAGS'
45938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45945 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45946 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45947 for ac_func in ceilf floorf
45949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45951 eval as_val=\$$as_ac_var
45952 if test "x$as_val" = x""yes; then :
45953 cat >>confdefs.h <<_ACEOF
45954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45962 $as_echo_n "checking for _float round functions... " >&6; }
45963 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45964 $as_echo_n "(cached) " >&6
45969 ac_cpp='$CXXCPP $CPPFLAGS'
45970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45975 /* end confdefs.h. */
45980 _ceilf (0); _floorf (0);
45985 if ac_fn_cxx_try_compile "$LINENO"; then :
45986 glibcxx_cv_func__float_round_use=yes
45988 glibcxx_cv_func__float_round_use=no
45990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45992 ac_cpp='$CPP $CPPFLAGS'
45993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46000 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46001 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46002 for ac_func in _ceilf _floorf
46004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46006 eval as_val=\$$as_ac_var
46007 if test "x$as_val" = x""yes; then :
46008 cat >>confdefs.h <<_ACEOF
46009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46024 $as_echo_n "checking for expf declaration... " >&6; }
46025 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46026 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46027 $as_echo_n "(cached) " >&6
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46038 /* end confdefs.h. */
46040 #ifdef HAVE_IEEEFP_H
46041 #include <ieeefp.h>
46052 if ac_fn_cxx_try_compile "$LINENO"; then :
46053 glibcxx_cv_func_expf_use=yes
46055 glibcxx_cv_func_expf_use=no
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46059 ac_cpp='$CPP $CPPFLAGS'
46060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46069 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46071 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46072 for ac_func in expf
46074 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46075 if test "x$ac_cv_func_expf" = x""yes; then :
46076 cat >>confdefs.h <<_ACEOF
46077 #define HAVE_EXPF 1
46085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46086 $as_echo_n "checking for _expf declaration... " >&6; }
46087 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46088 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46089 $as_echo_n "(cached) " >&6
46094 ac_cpp='$CXXCPP $CPPFLAGS'
46095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46100 /* end confdefs.h. */
46102 #ifdef HAVE_IEEEFP_H
46103 #include <ieeefp.h>
46114 if ac_fn_cxx_try_compile "$LINENO"; then :
46115 glibcxx_cv_func__expf_use=yes
46117 glibcxx_cv_func__expf_use=no
46119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46121 ac_cpp='$CPP $CPPFLAGS'
46122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46131 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46133 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46134 for ac_func in _expf
46136 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46137 if test "x$ac_cv_func__expf" = x""yes; then :
46138 cat >>confdefs.h <<_ACEOF
46139 #define HAVE__EXPF 1
46152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46153 $as_echo_n "checking for isnanf declaration... " >&6; }
46154 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46155 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46156 $as_echo_n "(cached) " >&6
46161 ac_cpp='$CXXCPP $CPPFLAGS'
46162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46167 /* end confdefs.h. */
46169 #ifdef HAVE_IEEEFP_H
46170 #include <ieeefp.h>
46181 if ac_fn_cxx_try_compile "$LINENO"; then :
46182 glibcxx_cv_func_isnanf_use=yes
46184 glibcxx_cv_func_isnanf_use=no
46186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46188 ac_cpp='$CPP $CPPFLAGS'
46189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46198 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46200 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46201 for ac_func in isnanf
46203 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46204 if test "x$ac_cv_func_isnanf" = x""yes; then :
46205 cat >>confdefs.h <<_ACEOF
46206 #define HAVE_ISNANF 1
46214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46215 $as_echo_n "checking for _isnanf declaration... " >&6; }
46216 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46217 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46218 $as_echo_n "(cached) " >&6
46223 ac_cpp='$CXXCPP $CPPFLAGS'
46224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46229 /* end confdefs.h. */
46231 #ifdef HAVE_IEEEFP_H
46232 #include <ieeefp.h>
46243 if ac_fn_cxx_try_compile "$LINENO"; then :
46244 glibcxx_cv_func__isnanf_use=yes
46246 glibcxx_cv_func__isnanf_use=no
46248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46250 ac_cpp='$CPP $CPPFLAGS'
46251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46260 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46262 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46263 for ac_func in _isnanf
46265 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46266 if test "x$ac_cv_func__isnanf" = x""yes; then :
46267 cat >>confdefs.h <<_ACEOF
46268 #define HAVE__ISNANF 1
46281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46282 $as_echo_n "checking for isinff declaration... " >&6; }
46283 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46284 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46285 $as_echo_n "(cached) " >&6
46290 ac_cpp='$CXXCPP $CPPFLAGS'
46291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46296 /* end confdefs.h. */
46298 #ifdef HAVE_IEEEFP_H
46299 #include <ieeefp.h>
46310 if ac_fn_cxx_try_compile "$LINENO"; then :
46311 glibcxx_cv_func_isinff_use=yes
46313 glibcxx_cv_func_isinff_use=no
46315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46317 ac_cpp='$CPP $CPPFLAGS'
46318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46327 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46329 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46330 for ac_func in isinff
46332 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46333 if test "x$ac_cv_func_isinff" = x""yes; then :
46334 cat >>confdefs.h <<_ACEOF
46335 #define HAVE_ISINFF 1
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46344 $as_echo_n "checking for _isinff declaration... " >&6; }
46345 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46346 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46347 $as_echo_n "(cached) " >&6
46352 ac_cpp='$CXXCPP $CPPFLAGS'
46353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46358 /* end confdefs.h. */
46360 #ifdef HAVE_IEEEFP_H
46361 #include <ieeefp.h>
46372 if ac_fn_cxx_try_compile "$LINENO"; then :
46373 glibcxx_cv_func__isinff_use=yes
46375 glibcxx_cv_func__isinff_use=no
46377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46379 ac_cpp='$CPP $CPPFLAGS'
46380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46389 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46391 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46392 for ac_func in _isinff
46394 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46395 if test "x$ac_cv_func__isinff" = x""yes; then :
46396 cat >>confdefs.h <<_ACEOF
46397 #define HAVE__ISINFF 1
46410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46411 $as_echo_n "checking for atan2f declaration... " >&6; }
46412 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46413 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46414 $as_echo_n "(cached) " >&6
46419 ac_cpp='$CXXCPP $CPPFLAGS'
46420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46425 /* end confdefs.h. */
46435 if ac_fn_cxx_try_compile "$LINENO"; then :
46436 glibcxx_cv_func_atan2f_use=yes
46438 glibcxx_cv_func_atan2f_use=no
46440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46442 ac_cpp='$CPP $CPPFLAGS'
46443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46452 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46454 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46455 for ac_func in atan2f
46457 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46458 if test "x$ac_cv_func_atan2f" = x""yes; then :
46459 cat >>confdefs.h <<_ACEOF
46460 #define HAVE_ATAN2F 1
46468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46469 $as_echo_n "checking for _atan2f declaration... " >&6; }
46470 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46471 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46472 $as_echo_n "(cached) " >&6
46477 ac_cpp='$CXXCPP $CPPFLAGS'
46478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46483 /* end confdefs.h. */
46493 if ac_fn_cxx_try_compile "$LINENO"; then :
46494 glibcxx_cv_func__atan2f_use=yes
46496 glibcxx_cv_func__atan2f_use=no
46498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46500 ac_cpp='$CPP $CPPFLAGS'
46501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46510 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46512 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46513 for ac_func in _atan2f
46515 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46516 if test "x$ac_cv_func__atan2f" = x""yes; then :
46517 cat >>confdefs.h <<_ACEOF
46518 #define HAVE__ATAN2F 1
46531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46532 $as_echo_n "checking for fabsf declaration... " >&6; }
46533 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46534 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46535 $as_echo_n "(cached) " >&6
46540 ac_cpp='$CXXCPP $CPPFLAGS'
46541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46546 /* end confdefs.h. */
46548 #ifdef HAVE_IEEEFP_H
46549 #include <ieeefp.h>
46560 if ac_fn_cxx_try_compile "$LINENO"; then :
46561 glibcxx_cv_func_fabsf_use=yes
46563 glibcxx_cv_func_fabsf_use=no
46565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46567 ac_cpp='$CPP $CPPFLAGS'
46568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46577 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46579 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46580 for ac_func in fabsf
46582 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46583 if test "x$ac_cv_func_fabsf" = x""yes; then :
46584 cat >>confdefs.h <<_ACEOF
46585 #define HAVE_FABSF 1
46593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46594 $as_echo_n "checking for _fabsf declaration... " >&6; }
46595 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46596 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46597 $as_echo_n "(cached) " >&6
46602 ac_cpp='$CXXCPP $CPPFLAGS'
46603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46608 /* end confdefs.h. */
46610 #ifdef HAVE_IEEEFP_H
46611 #include <ieeefp.h>
46622 if ac_fn_cxx_try_compile "$LINENO"; then :
46623 glibcxx_cv_func__fabsf_use=yes
46625 glibcxx_cv_func__fabsf_use=no
46627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46629 ac_cpp='$CPP $CPPFLAGS'
46630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46639 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46641 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46642 for ac_func in _fabsf
46644 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46645 if test "x$ac_cv_func__fabsf" = x""yes; then :
46646 cat >>confdefs.h <<_ACEOF
46647 #define HAVE__FABSF 1
46660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46661 $as_echo_n "checking for fmodf declaration... " >&6; }
46662 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46663 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46664 $as_echo_n "(cached) " >&6
46669 ac_cpp='$CXXCPP $CPPFLAGS'
46670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46675 /* end confdefs.h. */
46685 if ac_fn_cxx_try_compile "$LINENO"; then :
46686 glibcxx_cv_func_fmodf_use=yes
46688 glibcxx_cv_func_fmodf_use=no
46690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46692 ac_cpp='$CPP $CPPFLAGS'
46693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46702 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46704 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46705 for ac_func in fmodf
46707 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46708 if test "x$ac_cv_func_fmodf" = x""yes; then :
46709 cat >>confdefs.h <<_ACEOF
46710 #define HAVE_FMODF 1
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46719 $as_echo_n "checking for _fmodf declaration... " >&6; }
46720 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46721 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46722 $as_echo_n "(cached) " >&6
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46733 /* end confdefs.h. */
46743 if ac_fn_cxx_try_compile "$LINENO"; then :
46744 glibcxx_cv_func__fmodf_use=yes
46746 glibcxx_cv_func__fmodf_use=no
46748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46750 ac_cpp='$CPP $CPPFLAGS'
46751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46760 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46762 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46763 for ac_func in _fmodf
46765 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46766 if test "x$ac_cv_func__fmodf" = x""yes; then :
46767 cat >>confdefs.h <<_ACEOF
46768 #define HAVE__FMODF 1
46781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46782 $as_echo_n "checking for frexpf declaration... " >&6; }
46783 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46784 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46785 $as_echo_n "(cached) " >&6
46790 ac_cpp='$CXXCPP $CPPFLAGS'
46791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46796 /* end confdefs.h. */
46806 if ac_fn_cxx_try_compile "$LINENO"; then :
46807 glibcxx_cv_func_frexpf_use=yes
46809 glibcxx_cv_func_frexpf_use=no
46811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46813 ac_cpp='$CPP $CPPFLAGS'
46814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46823 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46825 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46826 for ac_func in frexpf
46828 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46829 if test "x$ac_cv_func_frexpf" = x""yes; then :
46830 cat >>confdefs.h <<_ACEOF
46831 #define HAVE_FREXPF 1
46839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46840 $as_echo_n "checking for _frexpf declaration... " >&6; }
46841 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46842 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46843 $as_echo_n "(cached) " >&6
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h. */
46864 if ac_fn_cxx_try_compile "$LINENO"; then :
46865 glibcxx_cv_func__frexpf_use=yes
46867 glibcxx_cv_func__frexpf_use=no
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46881 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46883 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46884 for ac_func in _frexpf
46886 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46887 if test "x$ac_cv_func__frexpf" = x""yes; then :
46888 cat >>confdefs.h <<_ACEOF
46889 #define HAVE__FREXPF 1
46902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46903 $as_echo_n "checking for hypotf declaration... " >&6; }
46904 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46905 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46906 $as_echo_n "(cached) " >&6
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46917 /* end confdefs.h. */
46927 if ac_fn_cxx_try_compile "$LINENO"; then :
46928 glibcxx_cv_func_hypotf_use=yes
46930 glibcxx_cv_func_hypotf_use=no
46932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46934 ac_cpp='$CPP $CPPFLAGS'
46935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46944 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46946 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46947 for ac_func in hypotf
46949 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46950 if test "x$ac_cv_func_hypotf" = x""yes; then :
46951 cat >>confdefs.h <<_ACEOF
46952 #define HAVE_HYPOTF 1
46960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46961 $as_echo_n "checking for _hypotf declaration... " >&6; }
46962 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46963 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46964 $as_echo_n "(cached) " >&6
46969 ac_cpp='$CXXCPP $CPPFLAGS'
46970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46975 /* end confdefs.h. */
46985 if ac_fn_cxx_try_compile "$LINENO"; then :
46986 glibcxx_cv_func__hypotf_use=yes
46988 glibcxx_cv_func__hypotf_use=no
46990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46992 ac_cpp='$CPP $CPPFLAGS'
46993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47002 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47004 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47005 for ac_func in _hypotf
47007 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47008 if test "x$ac_cv_func__hypotf" = x""yes; then :
47009 cat >>confdefs.h <<_ACEOF
47010 #define HAVE__HYPOTF 1
47023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47024 $as_echo_n "checking for ldexpf declaration... " >&6; }
47025 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47026 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47027 $as_echo_n "(cached) " >&6
47032 ac_cpp='$CXXCPP $CPPFLAGS'
47033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47038 /* end confdefs.h. */
47048 if ac_fn_cxx_try_compile "$LINENO"; then :
47049 glibcxx_cv_func_ldexpf_use=yes
47051 glibcxx_cv_func_ldexpf_use=no
47053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47055 ac_cpp='$CPP $CPPFLAGS'
47056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47065 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47067 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47068 for ac_func in ldexpf
47070 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47071 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47072 cat >>confdefs.h <<_ACEOF
47073 #define HAVE_LDEXPF 1
47081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47082 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47083 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47084 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47085 $as_echo_n "(cached) " >&6
47090 ac_cpp='$CXXCPP $CPPFLAGS'
47091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47096 /* end confdefs.h. */
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107 glibcxx_cv_func__ldexpf_use=yes
47109 glibcxx_cv_func__ldexpf_use=no
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47123 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47125 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47126 for ac_func in _ldexpf
47128 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47129 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47130 cat >>confdefs.h <<_ACEOF
47131 #define HAVE__LDEXPF 1
47144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47145 $as_echo_n "checking for logf declaration... " >&6; }
47146 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47147 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47148 $as_echo_n "(cached) " >&6
47153 ac_cpp='$CXXCPP $CPPFLAGS'
47154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47159 /* end confdefs.h. */
47161 #ifdef HAVE_IEEEFP_H
47162 #include <ieeefp.h>
47173 if ac_fn_cxx_try_compile "$LINENO"; then :
47174 glibcxx_cv_func_logf_use=yes
47176 glibcxx_cv_func_logf_use=no
47178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47180 ac_cpp='$CPP $CPPFLAGS'
47181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47190 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47192 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47193 for ac_func in logf
47195 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47196 if test "x$ac_cv_func_logf" = x""yes; then :
47197 cat >>confdefs.h <<_ACEOF
47198 #define HAVE_LOGF 1
47206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47207 $as_echo_n "checking for _logf declaration... " >&6; }
47208 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47209 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47210 $as_echo_n "(cached) " >&6
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h. */
47223 #ifdef HAVE_IEEEFP_H
47224 #include <ieeefp.h>
47235 if ac_fn_cxx_try_compile "$LINENO"; then :
47236 glibcxx_cv_func__logf_use=yes
47238 glibcxx_cv_func__logf_use=no
47240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47242 ac_cpp='$CPP $CPPFLAGS'
47243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47252 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47254 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47255 for ac_func in _logf
47257 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47258 if test "x$ac_cv_func__logf" = x""yes; then :
47259 cat >>confdefs.h <<_ACEOF
47260 #define HAVE__LOGF 1
47273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47274 $as_echo_n "checking for log10f declaration... " >&6; }
47275 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47276 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47277 $as_echo_n "(cached) " >&6
47282 ac_cpp='$CXXCPP $CPPFLAGS'
47283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47288 /* end confdefs.h. */
47290 #ifdef HAVE_IEEEFP_H
47291 #include <ieeefp.h>
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303 glibcxx_cv_func_log10f_use=yes
47305 glibcxx_cv_func_log10f_use=no
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47319 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47321 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47322 for ac_func in log10f
47324 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47325 if test "x$ac_cv_func_log10f" = x""yes; then :
47326 cat >>confdefs.h <<_ACEOF
47327 #define HAVE_LOG10F 1
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47336 $as_echo_n "checking for _log10f declaration... " >&6; }
47337 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47338 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47339 $as_echo_n "(cached) " >&6
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h. */
47352 #ifdef HAVE_IEEEFP_H
47353 #include <ieeefp.h>
47364 if ac_fn_cxx_try_compile "$LINENO"; then :
47365 glibcxx_cv_func__log10f_use=yes
47367 glibcxx_cv_func__log10f_use=no
47369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47371 ac_cpp='$CPP $CPPFLAGS'
47372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47381 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47383 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47384 for ac_func in _log10f
47386 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47387 if test "x$ac_cv_func__log10f" = x""yes; then :
47388 cat >>confdefs.h <<_ACEOF
47389 #define HAVE__LOG10F 1
47402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47403 $as_echo_n "checking for modff declaration... " >&6; }
47404 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47405 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47406 $as_echo_n "(cached) " >&6
47411 ac_cpp='$CXXCPP $CPPFLAGS'
47412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47417 /* end confdefs.h. */
47427 if ac_fn_cxx_try_compile "$LINENO"; then :
47428 glibcxx_cv_func_modff_use=yes
47430 glibcxx_cv_func_modff_use=no
47432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47434 ac_cpp='$CPP $CPPFLAGS'
47435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47444 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47446 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47447 for ac_func in modff
47449 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47450 if test "x$ac_cv_func_modff" = x""yes; then :
47451 cat >>confdefs.h <<_ACEOF
47452 #define HAVE_MODFF 1
47460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47461 $as_echo_n "checking for _modff declaration... " >&6; }
47462 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47463 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47464 $as_echo_n "(cached) " >&6
47469 ac_cpp='$CXXCPP $CPPFLAGS'
47470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h. */
47485 if ac_fn_cxx_try_compile "$LINENO"; then :
47486 glibcxx_cv_func__modff_use=yes
47488 glibcxx_cv_func__modff_use=no
47490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47502 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47504 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47505 for ac_func in _modff
47507 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47508 if test "x$ac_cv_func__modff" = x""yes; then :
47509 cat >>confdefs.h <<_ACEOF
47510 #define HAVE__MODFF 1
47523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47524 $as_echo_n "checking for modf declaration... " >&6; }
47525 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47526 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47527 $as_echo_n "(cached) " >&6
47532 ac_cpp='$CXXCPP $CPPFLAGS'
47533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47538 /* end confdefs.h. */
47548 if ac_fn_cxx_try_compile "$LINENO"; then :
47549 glibcxx_cv_func_modf_use=yes
47551 glibcxx_cv_func_modf_use=no
47553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47555 ac_cpp='$CPP $CPPFLAGS'
47556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47565 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47567 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47568 for ac_func in modf
47570 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47571 if test "x$ac_cv_func_modf" = x""yes; then :
47572 cat >>confdefs.h <<_ACEOF
47573 #define HAVE_MODF 1
47581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47582 $as_echo_n "checking for _modf declaration... " >&6; }
47583 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47584 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47585 $as_echo_n "(cached) " >&6
47590 ac_cpp='$CXXCPP $CPPFLAGS'
47591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47596 /* end confdefs.h. */
47606 if ac_fn_cxx_try_compile "$LINENO"; then :
47607 glibcxx_cv_func__modf_use=yes
47609 glibcxx_cv_func__modf_use=no
47611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47613 ac_cpp='$CPP $CPPFLAGS'
47614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47623 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47625 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47626 for ac_func in _modf
47628 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47629 if test "x$ac_cv_func__modf" = x""yes; then :
47630 cat >>confdefs.h <<_ACEOF
47631 #define HAVE__MODF 1
47644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47645 $as_echo_n "checking for powf declaration... " >&6; }
47646 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47647 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47648 $as_echo_n "(cached) " >&6
47653 ac_cpp='$CXXCPP $CPPFLAGS'
47654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47659 /* end confdefs.h. */
47669 if ac_fn_cxx_try_compile "$LINENO"; then :
47670 glibcxx_cv_func_powf_use=yes
47672 glibcxx_cv_func_powf_use=no
47674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47676 ac_cpp='$CPP $CPPFLAGS'
47677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47686 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47688 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47689 for ac_func in powf
47691 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47692 if test "x$ac_cv_func_powf" = x""yes; then :
47693 cat >>confdefs.h <<_ACEOF
47694 #define HAVE_POWF 1
47702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47703 $as_echo_n "checking for _powf declaration... " >&6; }
47704 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47705 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47706 $as_echo_n "(cached) " >&6
47711 ac_cpp='$CXXCPP $CPPFLAGS'
47712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717 /* end confdefs.h. */
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728 glibcxx_cv_func__powf_use=yes
47730 glibcxx_cv_func__powf_use=no
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47744 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47746 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47747 for ac_func in _powf
47749 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47750 if test "x$ac_cv_func__powf" = x""yes; then :
47751 cat >>confdefs.h <<_ACEOF
47752 #define HAVE__POWF 1
47765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47766 $as_echo_n "checking for sqrtf declaration... " >&6; }
47767 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47768 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47769 $as_echo_n "(cached) " >&6
47774 ac_cpp='$CXXCPP $CPPFLAGS'
47775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47780 /* end confdefs.h. */
47782 #ifdef HAVE_IEEEFP_H
47783 #include <ieeefp.h>
47794 if ac_fn_cxx_try_compile "$LINENO"; then :
47795 glibcxx_cv_func_sqrtf_use=yes
47797 glibcxx_cv_func_sqrtf_use=no
47799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47801 ac_cpp='$CPP $CPPFLAGS'
47802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47811 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47813 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47814 for ac_func in sqrtf
47816 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47817 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47818 cat >>confdefs.h <<_ACEOF
47819 #define HAVE_SQRTF 1
47827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47828 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47829 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47830 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47831 $as_echo_n "(cached) " >&6
47836 ac_cpp='$CXXCPP $CPPFLAGS'
47837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47842 /* end confdefs.h. */
47844 #ifdef HAVE_IEEEFP_H
47845 #include <ieeefp.h>
47856 if ac_fn_cxx_try_compile "$LINENO"; then :
47857 glibcxx_cv_func__sqrtf_use=yes
47859 glibcxx_cv_func__sqrtf_use=no
47861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47863 ac_cpp='$CPP $CPPFLAGS'
47864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47873 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47875 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47876 for ac_func in _sqrtf
47878 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47879 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47880 cat >>confdefs.h <<_ACEOF
47881 #define HAVE__SQRTF 1
47894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47895 $as_echo_n "checking for sincosf declaration... " >&6; }
47896 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47897 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47898 $as_echo_n "(cached) " >&6
47903 ac_cpp='$CXXCPP $CPPFLAGS'
47904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47909 /* end confdefs.h. */
47919 if ac_fn_cxx_try_compile "$LINENO"; then :
47920 glibcxx_cv_func_sincosf_use=yes
47922 glibcxx_cv_func_sincosf_use=no
47924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47926 ac_cpp='$CPP $CPPFLAGS'
47927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47936 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47938 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47939 for ac_func in sincosf
47941 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47942 if test "x$ac_cv_func_sincosf" = x""yes; then :
47943 cat >>confdefs.h <<_ACEOF
47944 #define HAVE_SINCOSF 1
47952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47953 $as_echo_n "checking for _sincosf declaration... " >&6; }
47954 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47955 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47956 $as_echo_n "(cached) " >&6
47961 ac_cpp='$CXXCPP $CPPFLAGS'
47962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47967 /* end confdefs.h. */
47977 if ac_fn_cxx_try_compile "$LINENO"; then :
47978 glibcxx_cv_func__sincosf_use=yes
47980 glibcxx_cv_func__sincosf_use=no
47982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47984 ac_cpp='$CPP $CPPFLAGS'
47985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47994 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47996 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47997 for ac_func in _sincosf
47999 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48000 if test "x$ac_cv_func__sincosf" = x""yes; then :
48001 cat >>confdefs.h <<_ACEOF
48002 #define HAVE__SINCOSF 1
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48016 $as_echo_n "checking for finitef declaration... " >&6; }
48017 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48018 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48019 $as_echo_n "(cached) " >&6
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h. */
48032 #ifdef HAVE_IEEEFP_H
48033 #include <ieeefp.h>
48044 if ac_fn_cxx_try_compile "$LINENO"; then :
48045 glibcxx_cv_func_finitef_use=yes
48047 glibcxx_cv_func_finitef_use=no
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48061 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48063 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48064 for ac_func in finitef
48066 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48067 if test "x$ac_cv_func_finitef" = x""yes; then :
48068 cat >>confdefs.h <<_ACEOF
48069 #define HAVE_FINITEF 1
48077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48078 $as_echo_n "checking for _finitef declaration... " >&6; }
48079 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48080 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48081 $as_echo_n "(cached) " >&6
48086 ac_cpp='$CXXCPP $CPPFLAGS'
48087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48092 /* end confdefs.h. */
48094 #ifdef HAVE_IEEEFP_H
48095 #include <ieeefp.h>
48106 if ac_fn_cxx_try_compile "$LINENO"; then :
48107 glibcxx_cv_func__finitef_use=yes
48109 glibcxx_cv_func__finitef_use=no
48111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48113 ac_cpp='$CPP $CPPFLAGS'
48114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48123 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48125 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48126 for ac_func in _finitef
48128 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48129 if test "x$ac_cv_func__finitef" = x""yes; then :
48130 cat >>confdefs.h <<_ACEOF
48131 #define HAVE__FINITEF 1
48144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48145 $as_echo_n "checking for long double trig functions... " >&6; }
48146 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48147 $as_echo_n "(cached) " >&6
48152 ac_cpp='$CXXCPP $CPPFLAGS'
48153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48158 /* end confdefs.h. */
48163 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48168 if ac_fn_cxx_try_compile "$LINENO"; then :
48169 glibcxx_cv_func_long_double_trig_use=yes
48171 glibcxx_cv_func_long_double_trig_use=no
48173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48175 ac_cpp='$CPP $CPPFLAGS'
48176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48183 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48184 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48185 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48187 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48189 eval as_val=\$$as_ac_var
48190 if test "x$as_val" = x""yes; then :
48191 cat >>confdefs.h <<_ACEOF
48192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48200 $as_echo_n "checking for _long double trig functions... " >&6; }
48201 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48202 $as_echo_n "(cached) " >&6
48207 ac_cpp='$CXXCPP $CPPFLAGS'
48208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48213 /* end confdefs.h. */
48218 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48223 if ac_fn_cxx_try_compile "$LINENO"; then :
48224 glibcxx_cv_func__long_double_trig_use=yes
48226 glibcxx_cv_func__long_double_trig_use=no
48228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48230 ac_cpp='$CPP $CPPFLAGS'
48231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48238 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48239 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48240 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48244 eval as_val=\$$as_ac_var
48245 if test "x$as_val" = x""yes; then :
48246 cat >>confdefs.h <<_ACEOF
48247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48261 $as_echo_n "checking for long double round functions... " >&6; }
48262 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48263 $as_echo_n "(cached) " >&6
48268 ac_cpp='$CXXCPP $CPPFLAGS'
48269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48274 /* end confdefs.h. */
48279 ceill (0); floorl (0);
48284 if ac_fn_cxx_try_compile "$LINENO"; then :
48285 glibcxx_cv_func_long_double_round_use=yes
48287 glibcxx_cv_func_long_double_round_use=no
48289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48291 ac_cpp='$CPP $CPPFLAGS'
48292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48299 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48300 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48301 for ac_func in ceill floorl
48303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48305 eval as_val=\$$as_ac_var
48306 if test "x$as_val" = x""yes; then :
48307 cat >>confdefs.h <<_ACEOF
48308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48316 $as_echo_n "checking for _long double round functions... " >&6; }
48317 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48318 $as_echo_n "(cached) " >&6
48323 ac_cpp='$CXXCPP $CPPFLAGS'
48324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48329 /* end confdefs.h. */
48334 _ceill (0); _floorl (0);
48339 if ac_fn_cxx_try_compile "$LINENO"; then :
48340 glibcxx_cv_func__long_double_round_use=yes
48342 glibcxx_cv_func__long_double_round_use=no
48344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48354 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48355 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48356 for ac_func in _ceill _floorl
48358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48360 eval as_val=\$$as_ac_var
48361 if test "x$as_val" = x""yes; then :
48362 cat >>confdefs.h <<_ACEOF
48363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48378 $as_echo_n "checking for isnanl declaration... " >&6; }
48379 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48380 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48381 $as_echo_n "(cached) " >&6
48386 ac_cpp='$CXXCPP $CPPFLAGS'
48387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48392 /* end confdefs.h. */
48394 #ifdef HAVE_IEEEFP_H
48395 #include <ieeefp.h>
48406 if ac_fn_cxx_try_compile "$LINENO"; then :
48407 glibcxx_cv_func_isnanl_use=yes
48409 glibcxx_cv_func_isnanl_use=no
48411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48413 ac_cpp='$CPP $CPPFLAGS'
48414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48423 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48425 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48426 for ac_func in isnanl
48428 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48429 if test "x$ac_cv_func_isnanl" = x""yes; then :
48430 cat >>confdefs.h <<_ACEOF
48431 #define HAVE_ISNANL 1
48439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48440 $as_echo_n "checking for _isnanl declaration... " >&6; }
48441 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48442 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48443 $as_echo_n "(cached) " >&6
48448 ac_cpp='$CXXCPP $CPPFLAGS'
48449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48454 /* end confdefs.h. */
48456 #ifdef HAVE_IEEEFP_H
48457 #include <ieeefp.h>
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469 glibcxx_cv_func__isnanl_use=yes
48471 glibcxx_cv_func__isnanl_use=no
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48485 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48487 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48488 for ac_func in _isnanl
48490 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48491 if test "x$ac_cv_func__isnanl" = x""yes; then :
48492 cat >>confdefs.h <<_ACEOF
48493 #define HAVE__ISNANL 1
48506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48507 $as_echo_n "checking for isinfl declaration... " >&6; }
48508 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48509 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48510 $as_echo_n "(cached) " >&6
48515 ac_cpp='$CXXCPP $CPPFLAGS'
48516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48521 /* end confdefs.h. */
48523 #ifdef HAVE_IEEEFP_H
48524 #include <ieeefp.h>
48535 if ac_fn_cxx_try_compile "$LINENO"; then :
48536 glibcxx_cv_func_isinfl_use=yes
48538 glibcxx_cv_func_isinfl_use=no
48540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48552 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48554 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48555 for ac_func in isinfl
48557 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48558 if test "x$ac_cv_func_isinfl" = x""yes; then :
48559 cat >>confdefs.h <<_ACEOF
48560 #define HAVE_ISINFL 1
48568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48569 $as_echo_n "checking for _isinfl declaration... " >&6; }
48570 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48571 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48572 $as_echo_n "(cached) " >&6
48577 ac_cpp='$CXXCPP $CPPFLAGS'
48578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48583 /* end confdefs.h. */
48585 #ifdef HAVE_IEEEFP_H
48586 #include <ieeefp.h>
48597 if ac_fn_cxx_try_compile "$LINENO"; then :
48598 glibcxx_cv_func__isinfl_use=yes
48600 glibcxx_cv_func__isinfl_use=no
48602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48604 ac_cpp='$CPP $CPPFLAGS'
48605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48614 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48616 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48617 for ac_func in _isinfl
48619 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48620 if test "x$ac_cv_func__isinfl" = x""yes; then :
48621 cat >>confdefs.h <<_ACEOF
48622 #define HAVE__ISINFL 1
48635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48636 $as_echo_n "checking for atan2l declaration... " >&6; }
48637 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48638 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48639 $as_echo_n "(cached) " >&6
48644 ac_cpp='$CXXCPP $CPPFLAGS'
48645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48650 /* end confdefs.h. */
48660 if ac_fn_cxx_try_compile "$LINENO"; then :
48661 glibcxx_cv_func_atan2l_use=yes
48663 glibcxx_cv_func_atan2l_use=no
48665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48667 ac_cpp='$CPP $CPPFLAGS'
48668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48677 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48679 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48680 for ac_func in atan2l
48682 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48683 if test "x$ac_cv_func_atan2l" = x""yes; then :
48684 cat >>confdefs.h <<_ACEOF
48685 #define HAVE_ATAN2L 1
48693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48694 $as_echo_n "checking for _atan2l declaration... " >&6; }
48695 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48696 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48697 $as_echo_n "(cached) " >&6
48702 ac_cpp='$CXXCPP $CPPFLAGS'
48703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48708 /* end confdefs.h. */
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719 glibcxx_cv_func__atan2l_use=yes
48721 glibcxx_cv_func__atan2l_use=no
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48735 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48737 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48738 for ac_func in _atan2l
48740 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48741 if test "x$ac_cv_func__atan2l" = x""yes; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define HAVE__ATAN2L 1
48756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48757 $as_echo_n "checking for expl declaration... " >&6; }
48758 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48759 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48760 $as_echo_n "(cached) " >&6
48765 ac_cpp='$CXXCPP $CPPFLAGS'
48766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48771 /* end confdefs.h. */
48773 #ifdef HAVE_IEEEFP_H
48774 #include <ieeefp.h>
48785 if ac_fn_cxx_try_compile "$LINENO"; then :
48786 glibcxx_cv_func_expl_use=yes
48788 glibcxx_cv_func_expl_use=no
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48802 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48804 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48805 for ac_func in expl
48807 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48808 if test "x$ac_cv_func_expl" = x""yes; then :
48809 cat >>confdefs.h <<_ACEOF
48810 #define HAVE_EXPL 1
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48819 $as_echo_n "checking for _expl declaration... " >&6; }
48820 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48821 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48835 #ifdef HAVE_IEEEFP_H
48836 #include <ieeefp.h>
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848 glibcxx_cv_func__expl_use=yes
48850 glibcxx_cv_func__expl_use=no
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48864 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48866 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48867 for ac_func in _expl
48869 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48870 if test "x$ac_cv_func__expl" = x""yes; then :
48871 cat >>confdefs.h <<_ACEOF
48872 #define HAVE__EXPL 1
48885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48886 $as_echo_n "checking for fabsl declaration... " >&6; }
48887 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48888 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48889 $as_echo_n "(cached) " >&6
48894 ac_cpp='$CXXCPP $CPPFLAGS'
48895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48900 /* end confdefs.h. */
48902 #ifdef HAVE_IEEEFP_H
48903 #include <ieeefp.h>
48914 if ac_fn_cxx_try_compile "$LINENO"; then :
48915 glibcxx_cv_func_fabsl_use=yes
48917 glibcxx_cv_func_fabsl_use=no
48919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921 ac_cpp='$CPP $CPPFLAGS'
48922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48931 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48933 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48934 for ac_func in fabsl
48936 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48937 if test "x$ac_cv_func_fabsl" = x""yes; then :
48938 cat >>confdefs.h <<_ACEOF
48939 #define HAVE_FABSL 1
48947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48948 $as_echo_n "checking for _fabsl declaration... " >&6; }
48949 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48950 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48951 $as_echo_n "(cached) " >&6
48956 ac_cpp='$CXXCPP $CPPFLAGS'
48957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48962 /* end confdefs.h. */
48964 #ifdef HAVE_IEEEFP_H
48965 #include <ieeefp.h>
48976 if ac_fn_cxx_try_compile "$LINENO"; then :
48977 glibcxx_cv_func__fabsl_use=yes
48979 glibcxx_cv_func__fabsl_use=no
48981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48983 ac_cpp='$CPP $CPPFLAGS'
48984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48993 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48995 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48996 for ac_func in _fabsl
48998 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48999 if test "x$ac_cv_func__fabsl" = x""yes; then :
49000 cat >>confdefs.h <<_ACEOF
49001 #define HAVE__FABSL 1
49014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49015 $as_echo_n "checking for fmodl declaration... " >&6; }
49016 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49017 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49018 $as_echo_n "(cached) " >&6
49023 ac_cpp='$CXXCPP $CPPFLAGS'
49024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49029 /* end confdefs.h. */
49039 if ac_fn_cxx_try_compile "$LINENO"; then :
49040 glibcxx_cv_func_fmodl_use=yes
49042 glibcxx_cv_func_fmodl_use=no
49044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49046 ac_cpp='$CPP $CPPFLAGS'
49047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49056 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49058 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49059 for ac_func in fmodl
49061 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49062 if test "x$ac_cv_func_fmodl" = x""yes; then :
49063 cat >>confdefs.h <<_ACEOF
49064 #define HAVE_FMODL 1
49072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49073 $as_echo_n "checking for _fmodl declaration... " >&6; }
49074 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49075 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49076 $as_echo_n "(cached) " >&6
49081 ac_cpp='$CXXCPP $CPPFLAGS'
49082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49087 /* end confdefs.h. */
49097 if ac_fn_cxx_try_compile "$LINENO"; then :
49098 glibcxx_cv_func__fmodl_use=yes
49100 glibcxx_cv_func__fmodl_use=no
49102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49114 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49116 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49117 for ac_func in _fmodl
49119 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49120 if test "x$ac_cv_func__fmodl" = x""yes; then :
49121 cat >>confdefs.h <<_ACEOF
49122 #define HAVE__FMODL 1
49135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49136 $as_echo_n "checking for frexpl declaration... " >&6; }
49137 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49138 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49139 $as_echo_n "(cached) " >&6
49144 ac_cpp='$CXXCPP $CPPFLAGS'
49145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49150 /* end confdefs.h. */
49160 if ac_fn_cxx_try_compile "$LINENO"; then :
49161 glibcxx_cv_func_frexpl_use=yes
49163 glibcxx_cv_func_frexpl_use=no
49165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49167 ac_cpp='$CPP $CPPFLAGS'
49168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49177 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49179 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49180 for ac_func in frexpl
49182 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49183 if test "x$ac_cv_func_frexpl" = x""yes; then :
49184 cat >>confdefs.h <<_ACEOF
49185 #define HAVE_FREXPL 1
49193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49194 $as_echo_n "checking for _frexpl declaration... " >&6; }
49195 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49196 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49197 $as_echo_n "(cached) " >&6
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h. */
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219 glibcxx_cv_func__frexpl_use=yes
49221 glibcxx_cv_func__frexpl_use=no
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49235 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49237 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49238 for ac_func in _frexpl
49240 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49241 if test "x$ac_cv_func__frexpl" = x""yes; then :
49242 cat >>confdefs.h <<_ACEOF
49243 #define HAVE__FREXPL 1
49256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49257 $as_echo_n "checking for hypotl declaration... " >&6; }
49258 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49259 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49260 $as_echo_n "(cached) " >&6
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49271 /* end confdefs.h. */
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func_hypotl_use=yes
49284 glibcxx_cv_func_hypotl_use=no
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49298 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49300 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49301 for ac_func in hypotl
49303 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49304 if test "x$ac_cv_func_hypotl" = x""yes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE_HYPOTL 1
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49315 $as_echo_n "checking for _hypotl declaration... " >&6; }
49316 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49317 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340 glibcxx_cv_func__hypotl_use=yes
49342 glibcxx_cv_func__hypotl_use=no
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49356 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49358 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49359 for ac_func in _hypotl
49361 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49362 if test "x$ac_cv_func__hypotl" = x""yes; then :
49363 cat >>confdefs.h <<_ACEOF
49364 #define HAVE__HYPOTL 1
49377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49378 $as_echo_n "checking for ldexpl declaration... " >&6; }
49379 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49380 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49381 $as_echo_n "(cached) " >&6
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h. */
49402 if ac_fn_cxx_try_compile "$LINENO"; then :
49403 glibcxx_cv_func_ldexpl_use=yes
49405 glibcxx_cv_func_ldexpl_use=no
49407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49409 ac_cpp='$CPP $CPPFLAGS'
49410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49419 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49421 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49422 for ac_func in ldexpl
49424 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49425 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49426 cat >>confdefs.h <<_ACEOF
49427 #define HAVE_LDEXPL 1
49435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49436 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49437 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49438 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49439 $as_echo_n "(cached) " >&6
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h. */
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func__ldexpl_use=yes
49463 glibcxx_cv_func__ldexpl_use=no
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49477 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49479 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49480 for ac_func in _ldexpl
49482 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49483 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE__LDEXPL 1
49498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49499 $as_echo_n "checking for logl declaration... " >&6; }
49500 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49501 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49502 $as_echo_n "(cached) " >&6
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49513 /* end confdefs.h. */
49515 #ifdef HAVE_IEEEFP_H
49516 #include <ieeefp.h>
49527 if ac_fn_cxx_try_compile "$LINENO"; then :
49528 glibcxx_cv_func_logl_use=yes
49530 glibcxx_cv_func_logl_use=no
49532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49534 ac_cpp='$CPP $CPPFLAGS'
49535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49544 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49546 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49547 for ac_func in logl
49549 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49550 if test "x$ac_cv_func_logl" = x""yes; then :
49551 cat >>confdefs.h <<_ACEOF
49552 #define HAVE_LOGL 1
49560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49561 $as_echo_n "checking for _logl declaration... " >&6; }
49562 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49563 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49564 $as_echo_n "(cached) " >&6
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49575 /* end confdefs.h. */
49577 #ifdef HAVE_IEEEFP_H
49578 #include <ieeefp.h>
49589 if ac_fn_cxx_try_compile "$LINENO"; then :
49590 glibcxx_cv_func__logl_use=yes
49592 glibcxx_cv_func__logl_use=no
49594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49596 ac_cpp='$CPP $CPPFLAGS'
49597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49606 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49608 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49609 for ac_func in _logl
49611 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49612 if test "x$ac_cv_func__logl" = x""yes; then :
49613 cat >>confdefs.h <<_ACEOF
49614 #define HAVE__LOGL 1
49627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49628 $as_echo_n "checking for log10l declaration... " >&6; }
49629 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49630 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49631 $as_echo_n "(cached) " >&6
49636 ac_cpp='$CXXCPP $CPPFLAGS'
49637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49642 /* end confdefs.h. */
49644 #ifdef HAVE_IEEEFP_H
49645 #include <ieeefp.h>
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657 glibcxx_cv_func_log10l_use=yes
49659 glibcxx_cv_func_log10l_use=no
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49673 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49675 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49676 for ac_func in log10l
49678 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49679 if test "x$ac_cv_func_log10l" = x""yes; then :
49680 cat >>confdefs.h <<_ACEOF
49681 #define HAVE_LOG10L 1
49689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49690 $as_echo_n "checking for _log10l declaration... " >&6; }
49691 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49692 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49693 $as_echo_n "(cached) " >&6
49698 ac_cpp='$CXXCPP $CPPFLAGS'
49699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49704 /* end confdefs.h. */
49706 #ifdef HAVE_IEEEFP_H
49707 #include <ieeefp.h>
49718 if ac_fn_cxx_try_compile "$LINENO"; then :
49719 glibcxx_cv_func__log10l_use=yes
49721 glibcxx_cv_func__log10l_use=no
49723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49725 ac_cpp='$CPP $CPPFLAGS'
49726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49735 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49737 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49738 for ac_func in _log10l
49740 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49741 if test "x$ac_cv_func__log10l" = x""yes; then :
49742 cat >>confdefs.h <<_ACEOF
49743 #define HAVE__LOG10L 1
49756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49757 $as_echo_n "checking for modfl declaration... " >&6; }
49758 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49759 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49760 $as_echo_n "(cached) " >&6
49765 ac_cpp='$CXXCPP $CPPFLAGS'
49766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49771 /* end confdefs.h. */
49781 if ac_fn_cxx_try_compile "$LINENO"; then :
49782 glibcxx_cv_func_modfl_use=yes
49784 glibcxx_cv_func_modfl_use=no
49786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788 ac_cpp='$CPP $CPPFLAGS'
49789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49798 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49800 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49801 for ac_func in modfl
49803 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49804 if test "x$ac_cv_func_modfl" = x""yes; then :
49805 cat >>confdefs.h <<_ACEOF
49806 #define HAVE_MODFL 1
49814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49815 $as_echo_n "checking for _modfl declaration... " >&6; }
49816 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49817 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49818 $as_echo_n "(cached) " >&6
49823 ac_cpp='$CXXCPP $CPPFLAGS'
49824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49829 /* end confdefs.h. */
49839 if ac_fn_cxx_try_compile "$LINENO"; then :
49840 glibcxx_cv_func__modfl_use=yes
49842 glibcxx_cv_func__modfl_use=no
49844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49856 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49858 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49859 for ac_func in _modfl
49861 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49862 if test "x$ac_cv_func__modfl" = x""yes; then :
49863 cat >>confdefs.h <<_ACEOF
49864 #define HAVE__MODFL 1
49877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49878 $as_echo_n "checking for powl declaration... " >&6; }
49879 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49880 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49881 $as_echo_n "(cached) " >&6
49886 ac_cpp='$CXXCPP $CPPFLAGS'
49887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49892 /* end confdefs.h. */
49902 if ac_fn_cxx_try_compile "$LINENO"; then :
49903 glibcxx_cv_func_powl_use=yes
49905 glibcxx_cv_func_powl_use=no
49907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49909 ac_cpp='$CPP $CPPFLAGS'
49910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49919 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49921 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49922 for ac_func in powl
49924 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49925 if test "x$ac_cv_func_powl" = x""yes; then :
49926 cat >>confdefs.h <<_ACEOF
49927 #define HAVE_POWL 1
49935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49936 $as_echo_n "checking for _powl declaration... " >&6; }
49937 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49938 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49939 $as_echo_n "(cached) " >&6
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49950 /* end confdefs.h. */
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961 glibcxx_cv_func__powl_use=yes
49963 glibcxx_cv_func__powl_use=no
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49977 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49979 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49980 for ac_func in _powl
49982 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49983 if test "x$ac_cv_func__powl" = x""yes; then :
49984 cat >>confdefs.h <<_ACEOF
49985 #define HAVE__POWL 1
49998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49999 $as_echo_n "checking for sqrtl declaration... " >&6; }
50000 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50001 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50002 $as_echo_n "(cached) " >&6
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50013 /* end confdefs.h. */
50015 #ifdef HAVE_IEEEFP_H
50016 #include <ieeefp.h>
50027 if ac_fn_cxx_try_compile "$LINENO"; then :
50028 glibcxx_cv_func_sqrtl_use=yes
50030 glibcxx_cv_func_sqrtl_use=no
50032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50034 ac_cpp='$CPP $CPPFLAGS'
50035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50044 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50046 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50047 for ac_func in sqrtl
50049 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50050 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50051 cat >>confdefs.h <<_ACEOF
50052 #define HAVE_SQRTL 1
50060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50061 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50062 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50063 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50064 $as_echo_n "(cached) " >&6
50069 ac_cpp='$CXXCPP $CPPFLAGS'
50070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50075 /* end confdefs.h. */
50077 #ifdef HAVE_IEEEFP_H
50078 #include <ieeefp.h>
50089 if ac_fn_cxx_try_compile "$LINENO"; then :
50090 glibcxx_cv_func__sqrtl_use=yes
50092 glibcxx_cv_func__sqrtl_use=no
50094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50096 ac_cpp='$CPP $CPPFLAGS'
50097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50106 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50108 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50109 for ac_func in _sqrtl
50111 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50112 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50113 cat >>confdefs.h <<_ACEOF
50114 #define HAVE__SQRTL 1
50127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50128 $as_echo_n "checking for sincosl declaration... " >&6; }
50129 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50130 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50131 $as_echo_n "(cached) " >&6
50136 ac_cpp='$CXXCPP $CPPFLAGS'
50137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50142 /* end confdefs.h. */
50152 if ac_fn_cxx_try_compile "$LINENO"; then :
50153 glibcxx_cv_func_sincosl_use=yes
50155 glibcxx_cv_func_sincosl_use=no
50157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50159 ac_cpp='$CPP $CPPFLAGS'
50160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50169 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50171 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50172 for ac_func in sincosl
50174 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50175 if test "x$ac_cv_func_sincosl" = x""yes; then :
50176 cat >>confdefs.h <<_ACEOF
50177 #define HAVE_SINCOSL 1
50185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50186 $as_echo_n "checking for _sincosl declaration... " >&6; }
50187 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50188 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50189 $as_echo_n "(cached) " >&6
50194 ac_cpp='$CXXCPP $CPPFLAGS'
50195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50200 /* end confdefs.h. */
50210 if ac_fn_cxx_try_compile "$LINENO"; then :
50211 glibcxx_cv_func__sincosl_use=yes
50213 glibcxx_cv_func__sincosl_use=no
50215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50217 ac_cpp='$CPP $CPPFLAGS'
50218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50227 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50229 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50230 for ac_func in _sincosl
50232 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50233 if test "x$ac_cv_func__sincosl" = x""yes; then :
50234 cat >>confdefs.h <<_ACEOF
50235 #define HAVE__SINCOSL 1
50248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50249 $as_echo_n "checking for finitel declaration... " >&6; }
50250 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50251 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50252 $as_echo_n "(cached) " >&6
50257 ac_cpp='$CXXCPP $CPPFLAGS'
50258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50263 /* end confdefs.h. */
50265 #ifdef HAVE_IEEEFP_H
50266 #include <ieeefp.h>
50277 if ac_fn_cxx_try_compile "$LINENO"; then :
50278 glibcxx_cv_func_finitel_use=yes
50280 glibcxx_cv_func_finitel_use=no
50282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50284 ac_cpp='$CPP $CPPFLAGS'
50285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50294 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50296 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50297 for ac_func in finitel
50299 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50300 if test "x$ac_cv_func_finitel" = x""yes; then :
50301 cat >>confdefs.h <<_ACEOF
50302 #define HAVE_FINITEL 1
50310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50311 $as_echo_n "checking for _finitel declaration... " >&6; }
50312 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50313 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50314 $as_echo_n "(cached) " >&6
50319 ac_cpp='$CXXCPP $CPPFLAGS'
50320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50325 /* end confdefs.h. */
50327 #ifdef HAVE_IEEEFP_H
50328 #include <ieeefp.h>
50339 if ac_fn_cxx_try_compile "$LINENO"; then :
50340 glibcxx_cv_func__finitel_use=yes
50342 glibcxx_cv_func__finitel_use=no
50344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50346 ac_cpp='$CPP $CPPFLAGS'
50347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50356 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50358 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50359 for ac_func in _finitel
50361 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50362 if test "x$ac_cv_func__finitel" = x""yes; then :
50363 cat >>confdefs.h <<_ACEOF
50364 #define HAVE__FINITEL 1
50376 LIBS="$ac_save_LIBS"
50377 CXXFLAGS="$ac_save_CXXFLAGS"
50380 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50381 ac_save_CXXFLAGS="$CXXFLAGS"
50382 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50386 $as_echo_n "checking for strtold declaration... " >&6; }
50387 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50388 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50389 $as_echo_n "(cached) " >&6
50394 ac_cpp='$CXXCPP $CPPFLAGS'
50395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50400 /* end confdefs.h. */
50401 #include <stdlib.h>
50410 if ac_fn_cxx_try_compile "$LINENO"; then :
50411 glibcxx_cv_func_strtold_use=yes
50413 glibcxx_cv_func_strtold_use=no
50415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50417 ac_cpp='$CPP $CPPFLAGS'
50418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50427 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50428 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50429 for ac_func in strtold
50431 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50432 if test "x$ac_cv_func_strtold" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE_STRTOLD 1
50445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50446 $as_echo_n "checking for strtof declaration... " >&6; }
50447 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50448 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50449 $as_echo_n "(cached) " >&6
50454 ac_cpp='$CXXCPP $CPPFLAGS'
50455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50460 /* end confdefs.h. */
50461 #include <stdlib.h>
50470 if ac_fn_cxx_try_compile "$LINENO"; then :
50471 glibcxx_cv_func_strtof_use=yes
50473 glibcxx_cv_func_strtof_use=no
50475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50477 ac_cpp='$CPP $CPPFLAGS'
50478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50487 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50488 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50489 for ac_func in strtof
50491 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50492 if test "x$ac_cv_func_strtof" = x""yes; then :
50493 cat >>confdefs.h <<_ACEOF
50494 #define HAVE_STRTOF 1
50505 CXXFLAGS="$ac_save_CXXFLAGS"
50507 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50511 # Check whether --enable-tls was given.
50512 if test "${enable_tls+set}" = set; then :
50513 enableval=$enable_tls;
50514 case "$enableval" in
50516 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50525 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50526 if test "${gcc_cv_have_tls+set}" = set; then :
50527 $as_echo_n "(cached) " >&6
50530 if test "$cross_compiling" = yes; then :
50531 if test x$gcc_no_link = xyes; then
50532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50535 /* end confdefs.h. */
50536 __thread int a; int b; int main() { return a = b; }
50538 if ac_fn_c_try_link "$LINENO"; then :
50539 chktls_save_LDFLAGS="$LDFLAGS"
50542 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50545 chktls_save_CFLAGS="$CFLAGS"
50546 CFLAGS="-fPIC $CFLAGS"
50547 if test x$gcc_no_link = xyes; then
50548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50551 /* end confdefs.h. */
50552 int f() { return 0; }
50554 if ac_fn_c_try_link "$LINENO"; then :
50555 if test x$gcc_no_link = xyes; then
50556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50559 /* end confdefs.h. */
50560 __thread int a; int b; int f() { return a = b; }
50562 if ac_fn_c_try_link "$LINENO"; then :
50563 gcc_cv_have_tls=yes
50567 rm -f core conftest.err conftest.$ac_objext \
50568 conftest$ac_exeext conftest.$ac_ext
50570 gcc_cv_have_tls=yes
50572 rm -f core conftest.err conftest.$ac_objext \
50573 conftest$ac_exeext conftest.$ac_ext
50574 CFLAGS="$chktls_save_CFLAGS"
50575 LDFLAGS="$chktls_save_LDFLAGS"
50579 rm -f core conftest.err conftest.$ac_objext \
50580 conftest$ac_exeext conftest.$ac_ext
50584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50585 /* end confdefs.h. */
50586 __thread int a; int b; int main() { return a = b; }
50588 if ac_fn_c_try_run "$LINENO"; then :
50589 chktls_save_LDFLAGS="$LDFLAGS"
50590 LDFLAGS="-static $LDFLAGS"
50591 if test x$gcc_no_link = xyes; then
50592 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50595 /* end confdefs.h. */
50596 int main() { return 0; }
50598 if ac_fn_c_try_link "$LINENO"; then :
50599 if test "$cross_compiling" = yes; then :
50600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50602 as_fn_error "cannot run test program while cross compiling
50603 See \`config.log' for more details." "$LINENO" 5; }
50605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50606 /* end confdefs.h. */
50607 __thread int a; int b; int main() { return a = b; }
50609 if ac_fn_c_try_run "$LINENO"; then :
50610 gcc_cv_have_tls=yes
50614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50615 conftest.$ac_objext conftest.beam conftest.$ac_ext
50619 gcc_cv_have_tls=yes
50621 rm -f core conftest.err conftest.$ac_objext \
50622 conftest$ac_exeext conftest.$ac_ext
50623 LDFLAGS="$chktls_save_LDFLAGS"
50624 if test $gcc_cv_have_tls = yes; then
50625 chktls_save_CFLAGS="$CFLAGS"
50626 thread_CFLAGS=failed
50627 for flag in '' '-pthread' '-lpthread'; do
50628 CFLAGS="$flag $chktls_save_CFLAGS"
50629 if test x$gcc_no_link = xyes; then
50630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h. */
50634 #include <pthread.h>
50635 void *g(void *d) { return NULL; }
50639 pthread_t t; pthread_create(&t,NULL,g,NULL);
50644 if ac_fn_c_try_link "$LINENO"; then :
50645 thread_CFLAGS="$flag"
50647 rm -f core conftest.err conftest.$ac_objext \
50648 conftest$ac_exeext conftest.$ac_ext
50649 if test "X$thread_CFLAGS" != Xfailed; then
50653 CFLAGS="$chktls_save_CFLAGS"
50654 if test "X$thread_CFLAGS" != Xfailed; then
50655 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50656 if test "$cross_compiling" = yes; then :
50657 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50659 as_fn_error "cannot run test program while cross compiling
50660 See \`config.log' for more details." "$LINENO" 5; }
50662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50663 /* end confdefs.h. */
50664 #include <pthread.h>
50666 static int *volatile a_in_other_thread;
50668 thread_func (void *arg)
50670 a_in_other_thread = &a;
50677 void *thread_retval;
50678 int *volatile a_in_main_thread;
50679 a_in_main_thread = &a;
50680 if (pthread_create (&thread, (pthread_attr_t *)0,
50681 thread_func, (void *)0))
50683 if (pthread_join (thread, &thread_retval))
50685 return (a_in_other_thread == a_in_main_thread);
50690 if ac_fn_c_try_run "$LINENO"; then :
50691 gcc_cv_have_tls=yes
50695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50696 conftest.$ac_objext conftest.beam conftest.$ac_ext
50699 CFLAGS="$chktls_save_CFLAGS"
50705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50706 conftest.$ac_objext conftest.beam conftest.$ac_ext
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50711 $as_echo "$gcc_cv_have_tls" >&6; }
50712 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50714 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50722 am_save_CPPFLAGS="$CPPFLAGS"
50724 for element in $INCICONV; do
50726 for x in $CPPFLAGS; do
50728 acl_save_prefix="$prefix"
50729 prefix="$acl_final_prefix"
50730 acl_save_exec_prefix="$exec_prefix"
50731 exec_prefix="$acl_final_exec_prefix"
50733 exec_prefix="$acl_save_exec_prefix"
50734 prefix="$acl_save_prefix"
50736 if test "X$x" = "X$element"; then
50741 if test -z "$haveit"; then
50742 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50748 $as_echo_n "checking for iconv... " >&6; }
50749 if test "${am_cv_func_iconv+set}" = set; then :
50750 $as_echo_n "(cached) " >&6
50753 am_cv_func_iconv="no, consider installing GNU libiconv"
50755 if test x$gcc_no_link = xyes; then
50756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50759 /* end confdefs.h. */
50760 #include <stdlib.h>
50765 iconv_t cd = iconv_open("","");
50766 iconv(cd,NULL,NULL,NULL,NULL);
50772 if ac_fn_c_try_link "$LINENO"; then :
50773 am_cv_func_iconv=yes
50775 rm -f core conftest.err conftest.$ac_objext \
50776 conftest$ac_exeext conftest.$ac_ext
50777 if test "$am_cv_func_iconv" != yes; then
50778 am_save_LIBS="$LIBS"
50779 LIBS="$LIBS $LIBICONV"
50780 if test x$gcc_no_link = xyes; then
50781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50784 /* end confdefs.h. */
50785 #include <stdlib.h>
50790 iconv_t cd = iconv_open("","");
50791 iconv(cd,NULL,NULL,NULL,NULL);
50797 if ac_fn_c_try_link "$LINENO"; then :
50798 am_cv_lib_iconv=yes
50799 am_cv_func_iconv=yes
50801 rm -f core conftest.err conftest.$ac_objext \
50802 conftest$ac_exeext conftest.$ac_ext
50803 LIBS="$am_save_LIBS"
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50808 $as_echo "$am_cv_func_iconv" >&6; }
50809 if test "$am_cv_func_iconv" = yes; then
50811 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50814 if test "$am_cv_lib_iconv" = yes; then
50815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50816 $as_echo_n "checking how to link with libiconv... " >&6; }
50817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50818 $as_echo "$LIBICONV" >&6; }
50820 CPPFLAGS="$am_save_CPPFLAGS"
50827 if test "$am_cv_func_iconv" = yes; then
50828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50829 $as_echo_n "checking for iconv declaration... " >&6; }
50830 if test "${am_cv_proto_iconv+set}" = set; then :
50831 $as_echo_n "(cached) " >&6
50834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50835 /* end confdefs.h. */
50837 #include <stdlib.h>
50843 #if defined(__STDC__) || defined(__cplusplus)
50844 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50857 if ac_fn_c_try_compile "$LINENO"; then :
50858 am_cv_proto_iconv_arg1=""
50860 am_cv_proto_iconv_arg1="const"
50862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50863 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
50866 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50868 }$am_cv_proto_iconv" >&5
50870 }$am_cv_proto_iconv" >&6; }
50872 cat >>confdefs.h <<_ACEOF
50873 #define ICONV_CONST $am_cv_proto_iconv_arg1
50881 # If we're not using GNU ld, then there's no point in even trying these
50882 # tests. Check for that first. We should have already tested for gld
50883 # by now (in libtool), but require it now just to be safe...
50884 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50885 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50889 # The name set by libtool depends on the version of libtool. Shame on us
50890 # for depending on an impl detail, but c'est la vie. Older versions used
50891 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50892 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50893 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50894 # set (hence we're using an older libtool), then set it.
50895 if test x${with_gnu_ld+set} != xset; then
50896 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50897 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50900 with_gnu_ld=$ac_cv_prog_gnu_ld
50904 # Start by getting the version number. I think the libtool test already
50905 # does some of this, but throws away the result.
50906 glibcxx_ld_is_gold=no
50907 if test x"$with_gnu_ld" = x"yes"; then
50908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50909 $as_echo_n "checking for ld version... " >&6; }
50911 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50912 glibcxx_ld_is_gold=yes
50914 ldver=`$LD --version 2>/dev/null |
50915 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
50917 glibcxx_gnu_ld_version=`echo $ldver | \
50918 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50920 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50923 # Set --gc-sections.
50924 glibcxx_have_gc_sections=no
50925 if test "$glibcxx_ld_is_gold" = "yes"; then
50926 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50927 glibcxx_have_gc_sections=yes
50930 glibcxx_gcsections_min_ld=21602
50931 if test x"$with_gnu_ld" = x"yes" &&
50932 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50933 glibcxx_have_gc_sections=yes
50936 if test "$glibcxx_have_gc_sections" = "yes"; then
50937 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50938 # NB: This flag only works reliably after 2.16.1. Configure tests
50939 # for this are difficult, so hard wire a value that should work.
50941 ac_test_CFLAGS="${CFLAGS+set}"
50942 ac_save_CFLAGS="$CFLAGS"
50943 CFLAGS='-Wl,--gc-sections'
50945 # Check for -Wl,--gc-sections
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50947 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50948 if test x$gcc_no_link = xyes; then
50949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50952 /* end confdefs.h. */
50953 int one(void) { return 1; }
50954 int two(void) { return 2; }
50964 if ac_fn_c_try_link "$LINENO"; then :
50969 rm -f core conftest.err conftest.$ac_objext \
50970 conftest$ac_exeext conftest.$ac_ext
50971 if test "$ac_gcsections" = "yes"; then
50974 if $CC -c conftest.c; then
50975 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50976 grep "Warning: gc-sections option ignored" > /dev/null; then
50980 rm -f conftest.c conftest.o conftest
50982 if test "$ac_gcsections" = "yes"; then
50983 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50986 $as_echo "$ac_gcsections" >&6; }
50988 if test "$ac_test_CFLAGS" = set; then
50989 CFLAGS="$ac_save_CFLAGS"
50991 # this is the suspicious part
50997 # Note this is only for shared objects.
50999 if test x"$with_gnu_ld" = x"yes"; then
51000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51001 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51002 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51003 if test -n "$cxx_z_relo"; then
51004 OPT_LDFLAGS="-Wl,-z,relro"
51007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51008 $as_echo "$ac_ld_relro" >&6; }
51011 # Set linker optimization flags.
51012 if test x"$with_gnu_ld" = x"yes"; then
51013 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51020 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51021 ac_save_CXXFLAGS="$CXXFLAGS"
51022 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51025 $as_echo_n "checking for sin in -lm... " >&6; }
51026 if test "${ac_cv_lib_m_sin+set}" = set; then :
51027 $as_echo_n "(cached) " >&6
51029 ac_check_lib_save_LIBS=$LIBS
51031 if test x$gcc_no_link = xyes; then
51032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51035 /* end confdefs.h. */
51037 /* Override any GCC internal prototype to avoid an error.
51038 Use char because int might match the return type of a GCC
51039 builtin and then its argument prototype would still apply. */
51052 if ac_fn_c_try_link "$LINENO"; then :
51053 ac_cv_lib_m_sin=yes
51057 rm -f core conftest.err conftest.$ac_objext \
51058 conftest$ac_exeext conftest.$ac_ext
51059 LIBS=$ac_check_lib_save_LIBS
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51062 $as_echo "$ac_cv_lib_m_sin" >&6; }
51063 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51067 ac_save_LIBS="$LIBS"
51072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51073 $as_echo_n "checking for isinf declaration... " >&6; }
51074 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51075 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51076 $as_echo_n "(cached) " >&6
51081 ac_cpp='$CXXCPP $CPPFLAGS'
51082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51087 /* end confdefs.h. */
51089 #ifdef HAVE_IEEEFP_H
51090 #include <ieeefp.h>
51101 if ac_fn_cxx_try_compile "$LINENO"; then :
51102 glibcxx_cv_func_isinf_use=yes
51104 glibcxx_cv_func_isinf_use=no
51106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51108 ac_cpp='$CPP $CPPFLAGS'
51109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51118 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51120 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51121 for ac_func in isinf
51123 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51124 if test "x$ac_cv_func_isinf" = x""yes; then :
51125 cat >>confdefs.h <<_ACEOF
51126 #define HAVE_ISINF 1
51134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51135 $as_echo_n "checking for _isinf declaration... " >&6; }
51136 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51137 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51138 $as_echo_n "(cached) " >&6
51143 ac_cpp='$CXXCPP $CPPFLAGS'
51144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51149 /* end confdefs.h. */
51151 #ifdef HAVE_IEEEFP_H
51152 #include <ieeefp.h>
51163 if ac_fn_cxx_try_compile "$LINENO"; then :
51164 glibcxx_cv_func__isinf_use=yes
51166 glibcxx_cv_func__isinf_use=no
51168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51170 ac_cpp='$CPP $CPPFLAGS'
51171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51180 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51182 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51183 for ac_func in _isinf
51185 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51186 if test "x$ac_cv_func__isinf" = x""yes; then :
51187 cat >>confdefs.h <<_ACEOF
51188 #define HAVE__ISINF 1
51201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51202 $as_echo_n "checking for isnan declaration... " >&6; }
51203 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51204 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51205 $as_echo_n "(cached) " >&6
51210 ac_cpp='$CXXCPP $CPPFLAGS'
51211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51216 /* end confdefs.h. */
51218 #ifdef HAVE_IEEEFP_H
51219 #include <ieeefp.h>
51230 if ac_fn_cxx_try_compile "$LINENO"; then :
51231 glibcxx_cv_func_isnan_use=yes
51233 glibcxx_cv_func_isnan_use=no
51235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51237 ac_cpp='$CPP $CPPFLAGS'
51238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51247 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51249 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51250 for ac_func in isnan
51252 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51253 if test "x$ac_cv_func_isnan" = x""yes; then :
51254 cat >>confdefs.h <<_ACEOF
51255 #define HAVE_ISNAN 1
51263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51264 $as_echo_n "checking for _isnan declaration... " >&6; }
51265 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51266 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51267 $as_echo_n "(cached) " >&6
51272 ac_cpp='$CXXCPP $CPPFLAGS'
51273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51280 #ifdef HAVE_IEEEFP_H
51281 #include <ieeefp.h>
51292 if ac_fn_cxx_try_compile "$LINENO"; then :
51293 glibcxx_cv_func__isnan_use=yes
51295 glibcxx_cv_func__isnan_use=no
51297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51299 ac_cpp='$CPP $CPPFLAGS'
51300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51309 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51311 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51312 for ac_func in _isnan
51314 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51315 if test "x$ac_cv_func__isnan" = x""yes; then :
51316 cat >>confdefs.h <<_ACEOF
51317 #define HAVE__ISNAN 1
51330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51331 $as_echo_n "checking for finite declaration... " >&6; }
51332 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51333 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51334 $as_echo_n "(cached) " >&6
51339 ac_cpp='$CXXCPP $CPPFLAGS'
51340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51345 /* end confdefs.h. */
51347 #ifdef HAVE_IEEEFP_H
51348 #include <ieeefp.h>
51359 if ac_fn_cxx_try_compile "$LINENO"; then :
51360 glibcxx_cv_func_finite_use=yes
51362 glibcxx_cv_func_finite_use=no
51364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51366 ac_cpp='$CPP $CPPFLAGS'
51367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51376 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51378 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51379 for ac_func in finite
51381 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51382 if test "x$ac_cv_func_finite" = x""yes; then :
51383 cat >>confdefs.h <<_ACEOF
51384 #define HAVE_FINITE 1
51392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51393 $as_echo_n "checking for _finite declaration... " >&6; }
51394 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51395 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51396 $as_echo_n "(cached) " >&6
51401 ac_cpp='$CXXCPP $CPPFLAGS'
51402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51407 /* end confdefs.h. */
51409 #ifdef HAVE_IEEEFP_H
51410 #include <ieeefp.h>
51421 if ac_fn_cxx_try_compile "$LINENO"; then :
51422 glibcxx_cv_func__finite_use=yes
51424 glibcxx_cv_func__finite_use=no
51426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51428 ac_cpp='$CPP $CPPFLAGS'
51429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51438 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51440 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51441 for ac_func in _finite
51443 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51444 if test "x$ac_cv_func__finite" = x""yes; then :
51445 cat >>confdefs.h <<_ACEOF
51446 #define HAVE__FINITE 1
51459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51460 $as_echo_n "checking for sincos declaration... " >&6; }
51461 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51462 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51463 $as_echo_n "(cached) " >&6
51468 ac_cpp='$CXXCPP $CPPFLAGS'
51469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51474 /* end confdefs.h. */
51484 if ac_fn_cxx_try_compile "$LINENO"; then :
51485 glibcxx_cv_func_sincos_use=yes
51487 glibcxx_cv_func_sincos_use=no
51489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51491 ac_cpp='$CPP $CPPFLAGS'
51492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51501 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51503 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51504 for ac_func in sincos
51506 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51507 if test "x$ac_cv_func_sincos" = x""yes; then :
51508 cat >>confdefs.h <<_ACEOF
51509 #define HAVE_SINCOS 1
51517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51518 $as_echo_n "checking for _sincos declaration... " >&6; }
51519 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51520 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51521 $as_echo_n "(cached) " >&6
51526 ac_cpp='$CXXCPP $CPPFLAGS'
51527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51532 /* end confdefs.h. */
51542 if ac_fn_cxx_try_compile "$LINENO"; then :
51543 glibcxx_cv_func__sincos_use=yes
51545 glibcxx_cv_func__sincos_use=no
51547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51549 ac_cpp='$CPP $CPPFLAGS'
51550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51559 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51561 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51562 for ac_func in _sincos
51564 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51565 if test "x$ac_cv_func__sincos" = x""yes; then :
51566 cat >>confdefs.h <<_ACEOF
51567 #define HAVE__SINCOS 1
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51581 $as_echo_n "checking for fpclass declaration... " >&6; }
51582 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51583 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51584 $as_echo_n "(cached) " >&6
51589 ac_cpp='$CXXCPP $CPPFLAGS'
51590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51595 /* end confdefs.h. */
51597 #ifdef HAVE_IEEEFP_H
51598 #include <ieeefp.h>
51609 if ac_fn_cxx_try_compile "$LINENO"; then :
51610 glibcxx_cv_func_fpclass_use=yes
51612 glibcxx_cv_func_fpclass_use=no
51614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51616 ac_cpp='$CPP $CPPFLAGS'
51617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51626 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51628 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51629 for ac_func in fpclass
51631 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51632 if test "x$ac_cv_func_fpclass" = x""yes; then :
51633 cat >>confdefs.h <<_ACEOF
51634 #define HAVE_FPCLASS 1
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51643 $as_echo_n "checking for _fpclass declaration... " >&6; }
51644 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51645 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51646 $as_echo_n "(cached) " >&6
51651 ac_cpp='$CXXCPP $CPPFLAGS'
51652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51657 /* end confdefs.h. */
51659 #ifdef HAVE_IEEEFP_H
51660 #include <ieeefp.h>
51671 if ac_fn_cxx_try_compile "$LINENO"; then :
51672 glibcxx_cv_func__fpclass_use=yes
51674 glibcxx_cv_func__fpclass_use=no
51676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51678 ac_cpp='$CPP $CPPFLAGS'
51679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51688 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51690 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51691 for ac_func in _fpclass
51693 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51694 if test "x$ac_cv_func__fpclass" = x""yes; then :
51695 cat >>confdefs.h <<_ACEOF
51696 #define HAVE__FPCLASS 1
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51710 $as_echo_n "checking for qfpclass declaration... " >&6; }
51711 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51712 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51713 $as_echo_n "(cached) " >&6
51718 ac_cpp='$CXXCPP $CPPFLAGS'
51719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51724 /* end confdefs.h. */
51726 #ifdef HAVE_IEEEFP_H
51727 #include <ieeefp.h>
51738 if ac_fn_cxx_try_compile "$LINENO"; then :
51739 glibcxx_cv_func_qfpclass_use=yes
51741 glibcxx_cv_func_qfpclass_use=no
51743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51745 ac_cpp='$CPP $CPPFLAGS'
51746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51755 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51757 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51758 for ac_func in qfpclass
51760 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51761 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51762 cat >>confdefs.h <<_ACEOF
51763 #define HAVE_QFPCLASS 1
51771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51772 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51773 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51774 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51775 $as_echo_n "(cached) " >&6
51780 ac_cpp='$CXXCPP $CPPFLAGS'
51781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51786 /* end confdefs.h. */
51788 #ifdef HAVE_IEEEFP_H
51789 #include <ieeefp.h>
51800 if ac_fn_cxx_try_compile "$LINENO"; then :
51801 glibcxx_cv_func__qfpclass_use=yes
51803 glibcxx_cv_func__qfpclass_use=no
51805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51807 ac_cpp='$CPP $CPPFLAGS'
51808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51817 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51819 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51820 for ac_func in _qfpclass
51822 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51823 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51824 cat >>confdefs.h <<_ACEOF
51825 #define HAVE__QFPCLASS 1
51838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51839 $as_echo_n "checking for hypot declaration... " >&6; }
51840 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51841 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51842 $as_echo_n "(cached) " >&6
51847 ac_cpp='$CXXCPP $CPPFLAGS'
51848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51853 /* end confdefs.h. */
51863 if ac_fn_cxx_try_compile "$LINENO"; then :
51864 glibcxx_cv_func_hypot_use=yes
51866 glibcxx_cv_func_hypot_use=no
51868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51870 ac_cpp='$CPP $CPPFLAGS'
51871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51880 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51882 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51883 for ac_func in hypot
51885 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51886 if test "x$ac_cv_func_hypot" = x""yes; then :
51887 cat >>confdefs.h <<_ACEOF
51888 #define HAVE_HYPOT 1
51896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51897 $as_echo_n "checking for _hypot declaration... " >&6; }
51898 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51899 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51900 $as_echo_n "(cached) " >&6
51905 ac_cpp='$CXXCPP $CPPFLAGS'
51906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51911 /* end confdefs.h. */
51921 if ac_fn_cxx_try_compile "$LINENO"; then :
51922 glibcxx_cv_func__hypot_use=yes
51924 glibcxx_cv_func__hypot_use=no
51926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51928 ac_cpp='$CPP $CPPFLAGS'
51929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51938 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51940 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51941 for ac_func in _hypot
51943 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51944 if test "x$ac_cv_func__hypot" = x""yes; then :
51945 cat >>confdefs.h <<_ACEOF
51946 #define HAVE__HYPOT 1
51959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51960 $as_echo_n "checking for float trig functions... " >&6; }
51961 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51962 $as_echo_n "(cached) " >&6
51967 ac_cpp='$CXXCPP $CPPFLAGS'
51968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51973 /* end confdefs.h. */
51978 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51983 if ac_fn_cxx_try_compile "$LINENO"; then :
51984 glibcxx_cv_func_float_trig_use=yes
51986 glibcxx_cv_func_float_trig_use=no
51988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51990 ac_cpp='$CPP $CPPFLAGS'
51991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51998 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51999 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52000 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52004 eval as_val=\$$as_ac_var
52005 if test "x$as_val" = x""yes; then :
52006 cat >>confdefs.h <<_ACEOF
52007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52015 $as_echo_n "checking for _float trig functions... " >&6; }
52016 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52017 $as_echo_n "(cached) " >&6
52022 ac_cpp='$CXXCPP $CPPFLAGS'
52023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52028 /* end confdefs.h. */
52033 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52038 if ac_fn_cxx_try_compile "$LINENO"; then :
52039 glibcxx_cv_func__float_trig_use=yes
52041 glibcxx_cv_func__float_trig_use=no
52043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045 ac_cpp='$CPP $CPPFLAGS'
52046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52053 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52054 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52055 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52059 eval as_val=\$$as_ac_var
52060 if test "x$as_val" = x""yes; then :
52061 cat >>confdefs.h <<_ACEOF
52062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52076 $as_echo_n "checking for float round functions... " >&6; }
52077 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52078 $as_echo_n "(cached) " >&6
52083 ac_cpp='$CXXCPP $CPPFLAGS'
52084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52089 /* end confdefs.h. */
52094 ceilf (0); floorf (0);
52099 if ac_fn_cxx_try_compile "$LINENO"; then :
52100 glibcxx_cv_func_float_round_use=yes
52102 glibcxx_cv_func_float_round_use=no
52104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52106 ac_cpp='$CPP $CPPFLAGS'
52107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52114 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52115 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52116 for ac_func in ceilf floorf
52118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52120 eval as_val=\$$as_ac_var
52121 if test "x$as_val" = x""yes; then :
52122 cat >>confdefs.h <<_ACEOF
52123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52131 $as_echo_n "checking for _float round functions... " >&6; }
52132 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52133 $as_echo_n "(cached) " >&6
52138 ac_cpp='$CXXCPP $CPPFLAGS'
52139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52144 /* end confdefs.h. */
52149 _ceilf (0); _floorf (0);
52154 if ac_fn_cxx_try_compile "$LINENO"; then :
52155 glibcxx_cv_func__float_round_use=yes
52157 glibcxx_cv_func__float_round_use=no
52159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52161 ac_cpp='$CPP $CPPFLAGS'
52162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52169 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52170 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52171 for ac_func in _ceilf _floorf
52173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52175 eval as_val=\$$as_ac_var
52176 if test "x$as_val" = x""yes; then :
52177 cat >>confdefs.h <<_ACEOF
52178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52193 $as_echo_n "checking for expf declaration... " >&6; }
52194 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52195 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52196 $as_echo_n "(cached) " >&6
52201 ac_cpp='$CXXCPP $CPPFLAGS'
52202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52207 /* end confdefs.h. */
52209 #ifdef HAVE_IEEEFP_H
52210 #include <ieeefp.h>
52221 if ac_fn_cxx_try_compile "$LINENO"; then :
52222 glibcxx_cv_func_expf_use=yes
52224 glibcxx_cv_func_expf_use=no
52226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52228 ac_cpp='$CPP $CPPFLAGS'
52229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52238 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52240 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52241 for ac_func in expf
52243 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52244 if test "x$ac_cv_func_expf" = x""yes; then :
52245 cat >>confdefs.h <<_ACEOF
52246 #define HAVE_EXPF 1
52254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52255 $as_echo_n "checking for _expf declaration... " >&6; }
52256 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52257 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52258 $as_echo_n "(cached) " >&6
52263 ac_cpp='$CXXCPP $CPPFLAGS'
52264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52269 /* end confdefs.h. */
52271 #ifdef HAVE_IEEEFP_H
52272 #include <ieeefp.h>
52283 if ac_fn_cxx_try_compile "$LINENO"; then :
52284 glibcxx_cv_func__expf_use=yes
52286 glibcxx_cv_func__expf_use=no
52288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52290 ac_cpp='$CPP $CPPFLAGS'
52291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52300 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52302 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52303 for ac_func in _expf
52305 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52306 if test "x$ac_cv_func__expf" = x""yes; then :
52307 cat >>confdefs.h <<_ACEOF
52308 #define HAVE__EXPF 1
52321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52322 $as_echo_n "checking for isnanf declaration... " >&6; }
52323 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52324 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52325 $as_echo_n "(cached) " >&6
52330 ac_cpp='$CXXCPP $CPPFLAGS'
52331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52336 /* end confdefs.h. */
52338 #ifdef HAVE_IEEEFP_H
52339 #include <ieeefp.h>
52350 if ac_fn_cxx_try_compile "$LINENO"; then :
52351 glibcxx_cv_func_isnanf_use=yes
52353 glibcxx_cv_func_isnanf_use=no
52355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52357 ac_cpp='$CPP $CPPFLAGS'
52358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52367 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52369 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52370 for ac_func in isnanf
52372 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52373 if test "x$ac_cv_func_isnanf" = x""yes; then :
52374 cat >>confdefs.h <<_ACEOF
52375 #define HAVE_ISNANF 1
52383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52384 $as_echo_n "checking for _isnanf declaration... " >&6; }
52385 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52386 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52387 $as_echo_n "(cached) " >&6
52392 ac_cpp='$CXXCPP $CPPFLAGS'
52393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52398 /* end confdefs.h. */
52400 #ifdef HAVE_IEEEFP_H
52401 #include <ieeefp.h>
52412 if ac_fn_cxx_try_compile "$LINENO"; then :
52413 glibcxx_cv_func__isnanf_use=yes
52415 glibcxx_cv_func__isnanf_use=no
52417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52419 ac_cpp='$CPP $CPPFLAGS'
52420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52429 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52431 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52432 for ac_func in _isnanf
52434 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52435 if test "x$ac_cv_func__isnanf" = x""yes; then :
52436 cat >>confdefs.h <<_ACEOF
52437 #define HAVE__ISNANF 1
52450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52451 $as_echo_n "checking for isinff declaration... " >&6; }
52452 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52453 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52454 $as_echo_n "(cached) " >&6
52459 ac_cpp='$CXXCPP $CPPFLAGS'
52460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52465 /* end confdefs.h. */
52467 #ifdef HAVE_IEEEFP_H
52468 #include <ieeefp.h>
52479 if ac_fn_cxx_try_compile "$LINENO"; then :
52480 glibcxx_cv_func_isinff_use=yes
52482 glibcxx_cv_func_isinff_use=no
52484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52486 ac_cpp='$CPP $CPPFLAGS'
52487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52496 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52498 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52499 for ac_func in isinff
52501 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52502 if test "x$ac_cv_func_isinff" = x""yes; then :
52503 cat >>confdefs.h <<_ACEOF
52504 #define HAVE_ISINFF 1
52512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52513 $as_echo_n "checking for _isinff declaration... " >&6; }
52514 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52515 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52516 $as_echo_n "(cached) " >&6
52521 ac_cpp='$CXXCPP $CPPFLAGS'
52522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52527 /* end confdefs.h. */
52529 #ifdef HAVE_IEEEFP_H
52530 #include <ieeefp.h>
52541 if ac_fn_cxx_try_compile "$LINENO"; then :
52542 glibcxx_cv_func__isinff_use=yes
52544 glibcxx_cv_func__isinff_use=no
52546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52548 ac_cpp='$CPP $CPPFLAGS'
52549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52558 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52560 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52561 for ac_func in _isinff
52563 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52564 if test "x$ac_cv_func__isinff" = x""yes; then :
52565 cat >>confdefs.h <<_ACEOF
52566 #define HAVE__ISINFF 1
52579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52580 $as_echo_n "checking for atan2f declaration... " >&6; }
52581 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52582 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52583 $as_echo_n "(cached) " >&6
52588 ac_cpp='$CXXCPP $CPPFLAGS'
52589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52594 /* end confdefs.h. */
52604 if ac_fn_cxx_try_compile "$LINENO"; then :
52605 glibcxx_cv_func_atan2f_use=yes
52607 glibcxx_cv_func_atan2f_use=no
52609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52611 ac_cpp='$CPP $CPPFLAGS'
52612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52621 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52623 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52624 for ac_func in atan2f
52626 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52627 if test "x$ac_cv_func_atan2f" = x""yes; then :
52628 cat >>confdefs.h <<_ACEOF
52629 #define HAVE_ATAN2F 1
52637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52638 $as_echo_n "checking for _atan2f declaration... " >&6; }
52639 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52640 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52641 $as_echo_n "(cached) " >&6
52646 ac_cpp='$CXXCPP $CPPFLAGS'
52647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52652 /* end confdefs.h. */
52662 if ac_fn_cxx_try_compile "$LINENO"; then :
52663 glibcxx_cv_func__atan2f_use=yes
52665 glibcxx_cv_func__atan2f_use=no
52667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52669 ac_cpp='$CPP $CPPFLAGS'
52670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52679 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52681 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52682 for ac_func in _atan2f
52684 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52685 if test "x$ac_cv_func__atan2f" = x""yes; then :
52686 cat >>confdefs.h <<_ACEOF
52687 #define HAVE__ATAN2F 1
52700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52701 $as_echo_n "checking for fabsf declaration... " >&6; }
52702 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52703 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52704 $as_echo_n "(cached) " >&6
52709 ac_cpp='$CXXCPP $CPPFLAGS'
52710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52715 /* end confdefs.h. */
52717 #ifdef HAVE_IEEEFP_H
52718 #include <ieeefp.h>
52729 if ac_fn_cxx_try_compile "$LINENO"; then :
52730 glibcxx_cv_func_fabsf_use=yes
52732 glibcxx_cv_func_fabsf_use=no
52734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52736 ac_cpp='$CPP $CPPFLAGS'
52737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52746 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52748 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52749 for ac_func in fabsf
52751 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52752 if test "x$ac_cv_func_fabsf" = x""yes; then :
52753 cat >>confdefs.h <<_ACEOF
52754 #define HAVE_FABSF 1
52762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52763 $as_echo_n "checking for _fabsf declaration... " >&6; }
52764 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52765 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52766 $as_echo_n "(cached) " >&6
52771 ac_cpp='$CXXCPP $CPPFLAGS'
52772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52777 /* end confdefs.h. */
52779 #ifdef HAVE_IEEEFP_H
52780 #include <ieeefp.h>
52791 if ac_fn_cxx_try_compile "$LINENO"; then :
52792 glibcxx_cv_func__fabsf_use=yes
52794 glibcxx_cv_func__fabsf_use=no
52796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52798 ac_cpp='$CPP $CPPFLAGS'
52799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52808 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52810 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52811 for ac_func in _fabsf
52813 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52814 if test "x$ac_cv_func__fabsf" = x""yes; then :
52815 cat >>confdefs.h <<_ACEOF
52816 #define HAVE__FABSF 1
52829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52830 $as_echo_n "checking for fmodf declaration... " >&6; }
52831 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52832 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52833 $as_echo_n "(cached) " >&6
52838 ac_cpp='$CXXCPP $CPPFLAGS'
52839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52844 /* end confdefs.h. */
52854 if ac_fn_cxx_try_compile "$LINENO"; then :
52855 glibcxx_cv_func_fmodf_use=yes
52857 glibcxx_cv_func_fmodf_use=no
52859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52861 ac_cpp='$CPP $CPPFLAGS'
52862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52871 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52873 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52874 for ac_func in fmodf
52876 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52877 if test "x$ac_cv_func_fmodf" = x""yes; then :
52878 cat >>confdefs.h <<_ACEOF
52879 #define HAVE_FMODF 1
52887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52888 $as_echo_n "checking for _fmodf declaration... " >&6; }
52889 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52890 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52891 $as_echo_n "(cached) " >&6
52896 ac_cpp='$CXXCPP $CPPFLAGS'
52897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52902 /* end confdefs.h. */
52912 if ac_fn_cxx_try_compile "$LINENO"; then :
52913 glibcxx_cv_func__fmodf_use=yes
52915 glibcxx_cv_func__fmodf_use=no
52917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52919 ac_cpp='$CPP $CPPFLAGS'
52920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52929 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52931 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52932 for ac_func in _fmodf
52934 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52935 if test "x$ac_cv_func__fmodf" = x""yes; then :
52936 cat >>confdefs.h <<_ACEOF
52937 #define HAVE__FMODF 1
52950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52951 $as_echo_n "checking for frexpf declaration... " >&6; }
52952 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52953 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52954 $as_echo_n "(cached) " >&6
52959 ac_cpp='$CXXCPP $CPPFLAGS'
52960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52965 /* end confdefs.h. */
52975 if ac_fn_cxx_try_compile "$LINENO"; then :
52976 glibcxx_cv_func_frexpf_use=yes
52978 glibcxx_cv_func_frexpf_use=no
52980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52982 ac_cpp='$CPP $CPPFLAGS'
52983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52992 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52994 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52995 for ac_func in frexpf
52997 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52998 if test "x$ac_cv_func_frexpf" = x""yes; then :
52999 cat >>confdefs.h <<_ACEOF
53000 #define HAVE_FREXPF 1
53008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53009 $as_echo_n "checking for _frexpf declaration... " >&6; }
53010 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53011 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53012 $as_echo_n "(cached) " >&6
53017 ac_cpp='$CXXCPP $CPPFLAGS'
53018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53023 /* end confdefs.h. */
53033 if ac_fn_cxx_try_compile "$LINENO"; then :
53034 glibcxx_cv_func__frexpf_use=yes
53036 glibcxx_cv_func__frexpf_use=no
53038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53040 ac_cpp='$CPP $CPPFLAGS'
53041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53050 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53052 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53053 for ac_func in _frexpf
53055 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53056 if test "x$ac_cv_func__frexpf" = x""yes; then :
53057 cat >>confdefs.h <<_ACEOF
53058 #define HAVE__FREXPF 1
53071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53072 $as_echo_n "checking for hypotf declaration... " >&6; }
53073 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53074 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53075 $as_echo_n "(cached) " >&6
53080 ac_cpp='$CXXCPP $CPPFLAGS'
53081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53086 /* end confdefs.h. */
53096 if ac_fn_cxx_try_compile "$LINENO"; then :
53097 glibcxx_cv_func_hypotf_use=yes
53099 glibcxx_cv_func_hypotf_use=no
53101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53103 ac_cpp='$CPP $CPPFLAGS'
53104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53113 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53115 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53116 for ac_func in hypotf
53118 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53119 if test "x$ac_cv_func_hypotf" = x""yes; then :
53120 cat >>confdefs.h <<_ACEOF
53121 #define HAVE_HYPOTF 1
53129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53130 $as_echo_n "checking for _hypotf declaration... " >&6; }
53131 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53132 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53133 $as_echo_n "(cached) " >&6
53138 ac_cpp='$CXXCPP $CPPFLAGS'
53139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53144 /* end confdefs.h. */
53154 if ac_fn_cxx_try_compile "$LINENO"; then :
53155 glibcxx_cv_func__hypotf_use=yes
53157 glibcxx_cv_func__hypotf_use=no
53159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53161 ac_cpp='$CPP $CPPFLAGS'
53162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53171 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53173 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53174 for ac_func in _hypotf
53176 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53177 if test "x$ac_cv_func__hypotf" = x""yes; then :
53178 cat >>confdefs.h <<_ACEOF
53179 #define HAVE__HYPOTF 1
53192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53193 $as_echo_n "checking for ldexpf declaration... " >&6; }
53194 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53195 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53196 $as_echo_n "(cached) " >&6
53201 ac_cpp='$CXXCPP $CPPFLAGS'
53202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53207 /* end confdefs.h. */
53217 if ac_fn_cxx_try_compile "$LINENO"; then :
53218 glibcxx_cv_func_ldexpf_use=yes
53220 glibcxx_cv_func_ldexpf_use=no
53222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53224 ac_cpp='$CPP $CPPFLAGS'
53225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53234 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53236 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53237 for ac_func in ldexpf
53239 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53240 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53241 cat >>confdefs.h <<_ACEOF
53242 #define HAVE_LDEXPF 1
53250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53251 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53252 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53253 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53254 $as_echo_n "(cached) " >&6
53259 ac_cpp='$CXXCPP $CPPFLAGS'
53260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53265 /* end confdefs.h. */
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276 glibcxx_cv_func__ldexpf_use=yes
53278 glibcxx_cv_func__ldexpf_use=no
53280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53292 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53294 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53295 for ac_func in _ldexpf
53297 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53298 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53299 cat >>confdefs.h <<_ACEOF
53300 #define HAVE__LDEXPF 1
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53314 $as_echo_n "checking for logf declaration... " >&6; }
53315 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53316 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53317 $as_echo_n "(cached) " >&6
53322 ac_cpp='$CXXCPP $CPPFLAGS'
53323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53328 /* end confdefs.h. */
53330 #ifdef HAVE_IEEEFP_H
53331 #include <ieeefp.h>
53342 if ac_fn_cxx_try_compile "$LINENO"; then :
53343 glibcxx_cv_func_logf_use=yes
53345 glibcxx_cv_func_logf_use=no
53347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53349 ac_cpp='$CPP $CPPFLAGS'
53350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53359 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53361 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53362 for ac_func in logf
53364 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53365 if test "x$ac_cv_func_logf" = x""yes; then :
53366 cat >>confdefs.h <<_ACEOF
53367 #define HAVE_LOGF 1
53375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53376 $as_echo_n "checking for _logf declaration... " >&6; }
53377 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53378 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53379 $as_echo_n "(cached) " >&6
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53390 /* end confdefs.h. */
53392 #ifdef HAVE_IEEEFP_H
53393 #include <ieeefp.h>
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405 glibcxx_cv_func__logf_use=yes
53407 glibcxx_cv_func__logf_use=no
53409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53421 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53423 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53424 for ac_func in _logf
53426 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53427 if test "x$ac_cv_func__logf" = x""yes; then :
53428 cat >>confdefs.h <<_ACEOF
53429 #define HAVE__LOGF 1
53442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53443 $as_echo_n "checking for log10f declaration... " >&6; }
53444 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53445 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53446 $as_echo_n "(cached) " >&6
53451 ac_cpp='$CXXCPP $CPPFLAGS'
53452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53457 /* end confdefs.h. */
53459 #ifdef HAVE_IEEEFP_H
53460 #include <ieeefp.h>
53471 if ac_fn_cxx_try_compile "$LINENO"; then :
53472 glibcxx_cv_func_log10f_use=yes
53474 glibcxx_cv_func_log10f_use=no
53476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53478 ac_cpp='$CPP $CPPFLAGS'
53479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53488 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53490 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53491 for ac_func in log10f
53493 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53494 if test "x$ac_cv_func_log10f" = x""yes; then :
53495 cat >>confdefs.h <<_ACEOF
53496 #define HAVE_LOG10F 1
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53505 $as_echo_n "checking for _log10f declaration... " >&6; }
53506 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53507 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53508 $as_echo_n "(cached) " >&6
53513 ac_cpp='$CXXCPP $CPPFLAGS'
53514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53519 /* end confdefs.h. */
53521 #ifdef HAVE_IEEEFP_H
53522 #include <ieeefp.h>
53533 if ac_fn_cxx_try_compile "$LINENO"; then :
53534 glibcxx_cv_func__log10f_use=yes
53536 glibcxx_cv_func__log10f_use=no
53538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53540 ac_cpp='$CPP $CPPFLAGS'
53541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53550 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53552 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53553 for ac_func in _log10f
53555 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53556 if test "x$ac_cv_func__log10f" = x""yes; then :
53557 cat >>confdefs.h <<_ACEOF
53558 #define HAVE__LOG10F 1
53571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53572 $as_echo_n "checking for modff declaration... " >&6; }
53573 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53574 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53575 $as_echo_n "(cached) " >&6
53580 ac_cpp='$CXXCPP $CPPFLAGS'
53581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53586 /* end confdefs.h. */
53596 if ac_fn_cxx_try_compile "$LINENO"; then :
53597 glibcxx_cv_func_modff_use=yes
53599 glibcxx_cv_func_modff_use=no
53601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53603 ac_cpp='$CPP $CPPFLAGS'
53604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53613 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53615 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53616 for ac_func in modff
53618 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53619 if test "x$ac_cv_func_modff" = x""yes; then :
53620 cat >>confdefs.h <<_ACEOF
53621 #define HAVE_MODFF 1
53629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53630 $as_echo_n "checking for _modff declaration... " >&6; }
53631 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53632 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53633 $as_echo_n "(cached) " >&6
53638 ac_cpp='$CXXCPP $CPPFLAGS'
53639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53644 /* end confdefs.h. */
53654 if ac_fn_cxx_try_compile "$LINENO"; then :
53655 glibcxx_cv_func__modff_use=yes
53657 glibcxx_cv_func__modff_use=no
53659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53661 ac_cpp='$CPP $CPPFLAGS'
53662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53671 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53673 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53674 for ac_func in _modff
53676 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53677 if test "x$ac_cv_func__modff" = x""yes; then :
53678 cat >>confdefs.h <<_ACEOF
53679 #define HAVE__MODFF 1
53692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53693 $as_echo_n "checking for modf declaration... " >&6; }
53694 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53695 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53696 $as_echo_n "(cached) " >&6
53701 ac_cpp='$CXXCPP $CPPFLAGS'
53702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53707 /* end confdefs.h. */
53717 if ac_fn_cxx_try_compile "$LINENO"; then :
53718 glibcxx_cv_func_modf_use=yes
53720 glibcxx_cv_func_modf_use=no
53722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53734 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53736 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53737 for ac_func in modf
53739 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53740 if test "x$ac_cv_func_modf" = x""yes; then :
53741 cat >>confdefs.h <<_ACEOF
53742 #define HAVE_MODF 1
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53751 $as_echo_n "checking for _modf declaration... " >&6; }
53752 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53753 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53754 $as_echo_n "(cached) " >&6
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h. */
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776 glibcxx_cv_func__modf_use=yes
53778 glibcxx_cv_func__modf_use=no
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53792 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53794 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53795 for ac_func in _modf
53797 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53798 if test "x$ac_cv_func__modf" = x""yes; then :
53799 cat >>confdefs.h <<_ACEOF
53800 #define HAVE__MODF 1
53813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53814 $as_echo_n "checking for powf declaration... " >&6; }
53815 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53816 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53817 $as_echo_n "(cached) " >&6
53822 ac_cpp='$CXXCPP $CPPFLAGS'
53823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53828 /* end confdefs.h. */
53838 if ac_fn_cxx_try_compile "$LINENO"; then :
53839 glibcxx_cv_func_powf_use=yes
53841 glibcxx_cv_func_powf_use=no
53843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53845 ac_cpp='$CPP $CPPFLAGS'
53846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53855 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53857 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53858 for ac_func in powf
53860 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53861 if test "x$ac_cv_func_powf" = x""yes; then :
53862 cat >>confdefs.h <<_ACEOF
53863 #define HAVE_POWF 1
53871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53872 $as_echo_n "checking for _powf declaration... " >&6; }
53873 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53874 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53875 $as_echo_n "(cached) " >&6
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h. */
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897 glibcxx_cv_func__powf_use=yes
53899 glibcxx_cv_func__powf_use=no
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53913 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53915 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53916 for ac_func in _powf
53918 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53919 if test "x$ac_cv_func__powf" = x""yes; then :
53920 cat >>confdefs.h <<_ACEOF
53921 #define HAVE__POWF 1
53934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53935 $as_echo_n "checking for sqrtf declaration... " >&6; }
53936 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53937 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53938 $as_echo_n "(cached) " >&6
53943 ac_cpp='$CXXCPP $CPPFLAGS'
53944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53949 /* end confdefs.h. */
53951 #ifdef HAVE_IEEEFP_H
53952 #include <ieeefp.h>
53963 if ac_fn_cxx_try_compile "$LINENO"; then :
53964 glibcxx_cv_func_sqrtf_use=yes
53966 glibcxx_cv_func_sqrtf_use=no
53968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53970 ac_cpp='$CPP $CPPFLAGS'
53971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53980 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53982 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53983 for ac_func in sqrtf
53985 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53986 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53987 cat >>confdefs.h <<_ACEOF
53988 #define HAVE_SQRTF 1
53996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53997 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53998 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53999 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54000 $as_echo_n "(cached) " >&6
54005 ac_cpp='$CXXCPP $CPPFLAGS'
54006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54011 /* end confdefs.h. */
54013 #ifdef HAVE_IEEEFP_H
54014 #include <ieeefp.h>
54025 if ac_fn_cxx_try_compile "$LINENO"; then :
54026 glibcxx_cv_func__sqrtf_use=yes
54028 glibcxx_cv_func__sqrtf_use=no
54030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54032 ac_cpp='$CPP $CPPFLAGS'
54033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54042 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54044 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54045 for ac_func in _sqrtf
54047 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54048 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54049 cat >>confdefs.h <<_ACEOF
54050 #define HAVE__SQRTF 1
54063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54064 $as_echo_n "checking for sincosf declaration... " >&6; }
54065 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54066 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54067 $as_echo_n "(cached) " >&6
54072 ac_cpp='$CXXCPP $CPPFLAGS'
54073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54078 /* end confdefs.h. */
54088 if ac_fn_cxx_try_compile "$LINENO"; then :
54089 glibcxx_cv_func_sincosf_use=yes
54091 glibcxx_cv_func_sincosf_use=no
54093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54095 ac_cpp='$CPP $CPPFLAGS'
54096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54105 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54107 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54108 for ac_func in sincosf
54110 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54111 if test "x$ac_cv_func_sincosf" = x""yes; then :
54112 cat >>confdefs.h <<_ACEOF
54113 #define HAVE_SINCOSF 1
54121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54122 $as_echo_n "checking for _sincosf declaration... " >&6; }
54123 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54124 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54125 $as_echo_n "(cached) " >&6
54130 ac_cpp='$CXXCPP $CPPFLAGS'
54131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54136 /* end confdefs.h. */
54146 if ac_fn_cxx_try_compile "$LINENO"; then :
54147 glibcxx_cv_func__sincosf_use=yes
54149 glibcxx_cv_func__sincosf_use=no
54151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54153 ac_cpp='$CPP $CPPFLAGS'
54154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54163 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54165 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54166 for ac_func in _sincosf
54168 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54169 if test "x$ac_cv_func__sincosf" = x""yes; then :
54170 cat >>confdefs.h <<_ACEOF
54171 #define HAVE__SINCOSF 1
54184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54185 $as_echo_n "checking for finitef declaration... " >&6; }
54186 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54187 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54188 $as_echo_n "(cached) " >&6
54193 ac_cpp='$CXXCPP $CPPFLAGS'
54194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54199 /* end confdefs.h. */
54201 #ifdef HAVE_IEEEFP_H
54202 #include <ieeefp.h>
54213 if ac_fn_cxx_try_compile "$LINENO"; then :
54214 glibcxx_cv_func_finitef_use=yes
54216 glibcxx_cv_func_finitef_use=no
54218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54220 ac_cpp='$CPP $CPPFLAGS'
54221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54230 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54232 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54233 for ac_func in finitef
54235 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54236 if test "x$ac_cv_func_finitef" = x""yes; then :
54237 cat >>confdefs.h <<_ACEOF
54238 #define HAVE_FINITEF 1
54246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54247 $as_echo_n "checking for _finitef declaration... " >&6; }
54248 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54249 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54250 $as_echo_n "(cached) " >&6
54255 ac_cpp='$CXXCPP $CPPFLAGS'
54256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54261 /* end confdefs.h. */
54263 #ifdef HAVE_IEEEFP_H
54264 #include <ieeefp.h>
54275 if ac_fn_cxx_try_compile "$LINENO"; then :
54276 glibcxx_cv_func__finitef_use=yes
54278 glibcxx_cv_func__finitef_use=no
54280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54282 ac_cpp='$CPP $CPPFLAGS'
54283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54292 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54294 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54295 for ac_func in _finitef
54297 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54298 if test "x$ac_cv_func__finitef" = x""yes; then :
54299 cat >>confdefs.h <<_ACEOF
54300 #define HAVE__FINITEF 1
54313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54314 $as_echo_n "checking for long double trig functions... " >&6; }
54315 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54316 $as_echo_n "(cached) " >&6
54321 ac_cpp='$CXXCPP $CPPFLAGS'
54322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54327 /* end confdefs.h. */
54332 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54337 if ac_fn_cxx_try_compile "$LINENO"; then :
54338 glibcxx_cv_func_long_double_trig_use=yes
54340 glibcxx_cv_func_long_double_trig_use=no
54342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54344 ac_cpp='$CPP $CPPFLAGS'
54345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54352 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54353 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54354 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54358 eval as_val=\$$as_ac_var
54359 if test "x$as_val" = x""yes; then :
54360 cat >>confdefs.h <<_ACEOF
54361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54369 $as_echo_n "checking for _long double trig functions... " >&6; }
54370 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54371 $as_echo_n "(cached) " >&6
54376 ac_cpp='$CXXCPP $CPPFLAGS'
54377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54382 /* end confdefs.h. */
54387 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54392 if ac_fn_cxx_try_compile "$LINENO"; then :
54393 glibcxx_cv_func__long_double_trig_use=yes
54395 glibcxx_cv_func__long_double_trig_use=no
54397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54399 ac_cpp='$CPP $CPPFLAGS'
54400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54407 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54408 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54409 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54413 eval as_val=\$$as_ac_var
54414 if test "x$as_val" = x""yes; then :
54415 cat >>confdefs.h <<_ACEOF
54416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54430 $as_echo_n "checking for long double round functions... " >&6; }
54431 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54432 $as_echo_n "(cached) " >&6
54437 ac_cpp='$CXXCPP $CPPFLAGS'
54438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54443 /* end confdefs.h. */
54448 ceill (0); floorl (0);
54453 if ac_fn_cxx_try_compile "$LINENO"; then :
54454 glibcxx_cv_func_long_double_round_use=yes
54456 glibcxx_cv_func_long_double_round_use=no
54458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54460 ac_cpp='$CPP $CPPFLAGS'
54461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54468 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54469 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54470 for ac_func in ceill floorl
54472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54474 eval as_val=\$$as_ac_var
54475 if test "x$as_val" = x""yes; then :
54476 cat >>confdefs.h <<_ACEOF
54477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54485 $as_echo_n "checking for _long double round functions... " >&6; }
54486 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54487 $as_echo_n "(cached) " >&6
54492 ac_cpp='$CXXCPP $CPPFLAGS'
54493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54498 /* end confdefs.h. */
54503 _ceill (0); _floorl (0);
54508 if ac_fn_cxx_try_compile "$LINENO"; then :
54509 glibcxx_cv_func__long_double_round_use=yes
54511 glibcxx_cv_func__long_double_round_use=no
54513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54515 ac_cpp='$CPP $CPPFLAGS'
54516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54523 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54524 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54525 for ac_func in _ceill _floorl
54527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54529 eval as_val=\$$as_ac_var
54530 if test "x$as_val" = x""yes; then :
54531 cat >>confdefs.h <<_ACEOF
54532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54547 $as_echo_n "checking for isnanl declaration... " >&6; }
54548 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54549 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54550 $as_echo_n "(cached) " >&6
54555 ac_cpp='$CXXCPP $CPPFLAGS'
54556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54561 /* end confdefs.h. */
54563 #ifdef HAVE_IEEEFP_H
54564 #include <ieeefp.h>
54575 if ac_fn_cxx_try_compile "$LINENO"; then :
54576 glibcxx_cv_func_isnanl_use=yes
54578 glibcxx_cv_func_isnanl_use=no
54580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54582 ac_cpp='$CPP $CPPFLAGS'
54583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54592 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54594 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54595 for ac_func in isnanl
54597 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54598 if test "x$ac_cv_func_isnanl" = x""yes; then :
54599 cat >>confdefs.h <<_ACEOF
54600 #define HAVE_ISNANL 1
54608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54609 $as_echo_n "checking for _isnanl declaration... " >&6; }
54610 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54611 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54612 $as_echo_n "(cached) " >&6
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h. */
54625 #ifdef HAVE_IEEEFP_H
54626 #include <ieeefp.h>
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func__isnanl_use=yes
54640 glibcxx_cv_func__isnanl_use=no
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54654 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54656 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54657 for ac_func in _isnanl
54659 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54660 if test "x$ac_cv_func__isnanl" = x""yes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE__ISNANL 1
54675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54676 $as_echo_n "checking for isinfl declaration... " >&6; }
54677 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54678 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54679 $as_echo_n "(cached) " >&6
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54690 /* end confdefs.h. */
54692 #ifdef HAVE_IEEEFP_H
54693 #include <ieeefp.h>
54704 if ac_fn_cxx_try_compile "$LINENO"; then :
54705 glibcxx_cv_func_isinfl_use=yes
54707 glibcxx_cv_func_isinfl_use=no
54709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54711 ac_cpp='$CPP $CPPFLAGS'
54712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54721 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54723 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54724 for ac_func in isinfl
54726 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54727 if test "x$ac_cv_func_isinfl" = x""yes; then :
54728 cat >>confdefs.h <<_ACEOF
54729 #define HAVE_ISINFL 1
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54738 $as_echo_n "checking for _isinfl declaration... " >&6; }
54739 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54740 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54741 $as_echo_n "(cached) " >&6
54746 ac_cpp='$CXXCPP $CPPFLAGS'
54747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54752 /* end confdefs.h. */
54754 #ifdef HAVE_IEEEFP_H
54755 #include <ieeefp.h>
54766 if ac_fn_cxx_try_compile "$LINENO"; then :
54767 glibcxx_cv_func__isinfl_use=yes
54769 glibcxx_cv_func__isinfl_use=no
54771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54773 ac_cpp='$CPP $CPPFLAGS'
54774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54783 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54785 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54786 for ac_func in _isinfl
54788 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54789 if test "x$ac_cv_func__isinfl" = x""yes; then :
54790 cat >>confdefs.h <<_ACEOF
54791 #define HAVE__ISINFL 1
54804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54805 $as_echo_n "checking for atan2l declaration... " >&6; }
54806 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54807 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54808 $as_echo_n "(cached) " >&6
54813 ac_cpp='$CXXCPP $CPPFLAGS'
54814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54819 /* end confdefs.h. */
54829 if ac_fn_cxx_try_compile "$LINENO"; then :
54830 glibcxx_cv_func_atan2l_use=yes
54832 glibcxx_cv_func_atan2l_use=no
54834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836 ac_cpp='$CPP $CPPFLAGS'
54837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54846 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54848 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54849 for ac_func in atan2l
54851 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54852 if test "x$ac_cv_func_atan2l" = x""yes; then :
54853 cat >>confdefs.h <<_ACEOF
54854 #define HAVE_ATAN2L 1
54862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54863 $as_echo_n "checking for _atan2l declaration... " >&6; }
54864 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54865 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54866 $as_echo_n "(cached) " >&6
54871 ac_cpp='$CXXCPP $CPPFLAGS'
54872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54877 /* end confdefs.h. */
54887 if ac_fn_cxx_try_compile "$LINENO"; then :
54888 glibcxx_cv_func__atan2l_use=yes
54890 glibcxx_cv_func__atan2l_use=no
54892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54894 ac_cpp='$CPP $CPPFLAGS'
54895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54904 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54906 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54907 for ac_func in _atan2l
54909 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54910 if test "x$ac_cv_func__atan2l" = x""yes; then :
54911 cat >>confdefs.h <<_ACEOF
54912 #define HAVE__ATAN2L 1
54925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54926 $as_echo_n "checking for expl declaration... " >&6; }
54927 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54928 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54929 $as_echo_n "(cached) " >&6
54934 ac_cpp='$CXXCPP $CPPFLAGS'
54935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54940 /* end confdefs.h. */
54942 #ifdef HAVE_IEEEFP_H
54943 #include <ieeefp.h>
54954 if ac_fn_cxx_try_compile "$LINENO"; then :
54955 glibcxx_cv_func_expl_use=yes
54957 glibcxx_cv_func_expl_use=no
54959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54961 ac_cpp='$CPP $CPPFLAGS'
54962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54971 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54973 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54974 for ac_func in expl
54976 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54977 if test "x$ac_cv_func_expl" = x""yes; then :
54978 cat >>confdefs.h <<_ACEOF
54979 #define HAVE_EXPL 1
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54988 $as_echo_n "checking for _expl declaration... " >&6; }
54989 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54990 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54991 $as_echo_n "(cached) " >&6
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h. */
55004 #ifdef HAVE_IEEEFP_H
55005 #include <ieeefp.h>
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017 glibcxx_cv_func__expl_use=yes
55019 glibcxx_cv_func__expl_use=no
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55033 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55035 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55036 for ac_func in _expl
55038 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55039 if test "x$ac_cv_func__expl" = x""yes; then :
55040 cat >>confdefs.h <<_ACEOF
55041 #define HAVE__EXPL 1
55054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55055 $as_echo_n "checking for fabsl declaration... " >&6; }
55056 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55057 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55058 $as_echo_n "(cached) " >&6
55063 ac_cpp='$CXXCPP $CPPFLAGS'
55064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55069 /* end confdefs.h. */
55071 #ifdef HAVE_IEEEFP_H
55072 #include <ieeefp.h>
55083 if ac_fn_cxx_try_compile "$LINENO"; then :
55084 glibcxx_cv_func_fabsl_use=yes
55086 glibcxx_cv_func_fabsl_use=no
55088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55090 ac_cpp='$CPP $CPPFLAGS'
55091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55100 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55102 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55103 for ac_func in fabsl
55105 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55106 if test "x$ac_cv_func_fabsl" = x""yes; then :
55107 cat >>confdefs.h <<_ACEOF
55108 #define HAVE_FABSL 1
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55117 $as_echo_n "checking for _fabsl declaration... " >&6; }
55118 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55119 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55120 $as_echo_n "(cached) " >&6
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55133 #ifdef HAVE_IEEEFP_H
55134 #include <ieeefp.h>
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func__fabsl_use=yes
55148 glibcxx_cv_func__fabsl_use=no
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55162 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55164 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55165 for ac_func in _fabsl
55167 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55168 if test "x$ac_cv_func__fabsl" = x""yes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define HAVE__FABSL 1
55183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55184 $as_echo_n "checking for fmodl declaration... " >&6; }
55185 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55186 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55187 $as_echo_n "(cached) " >&6
55192 ac_cpp='$CXXCPP $CPPFLAGS'
55193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55198 /* end confdefs.h. */
55208 if ac_fn_cxx_try_compile "$LINENO"; then :
55209 glibcxx_cv_func_fmodl_use=yes
55211 glibcxx_cv_func_fmodl_use=no
55213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55215 ac_cpp='$CPP $CPPFLAGS'
55216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55225 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55227 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55228 for ac_func in fmodl
55230 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55231 if test "x$ac_cv_func_fmodl" = x""yes; then :
55232 cat >>confdefs.h <<_ACEOF
55233 #define HAVE_FMODL 1
55241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55242 $as_echo_n "checking for _fmodl declaration... " >&6; }
55243 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55244 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55245 $as_echo_n "(cached) " >&6
55250 ac_cpp='$CXXCPP $CPPFLAGS'
55251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55256 /* end confdefs.h. */
55266 if ac_fn_cxx_try_compile "$LINENO"; then :
55267 glibcxx_cv_func__fmodl_use=yes
55269 glibcxx_cv_func__fmodl_use=no
55271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55273 ac_cpp='$CPP $CPPFLAGS'
55274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55283 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55285 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55286 for ac_func in _fmodl
55288 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55289 if test "x$ac_cv_func__fmodl" = x""yes; then :
55290 cat >>confdefs.h <<_ACEOF
55291 #define HAVE__FMODL 1
55304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55305 $as_echo_n "checking for frexpl declaration... " >&6; }
55306 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55307 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55308 $as_echo_n "(cached) " >&6
55313 ac_cpp='$CXXCPP $CPPFLAGS'
55314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55319 /* end confdefs.h. */
55329 if ac_fn_cxx_try_compile "$LINENO"; then :
55330 glibcxx_cv_func_frexpl_use=yes
55332 glibcxx_cv_func_frexpl_use=no
55334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55336 ac_cpp='$CPP $CPPFLAGS'
55337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55346 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55348 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55349 for ac_func in frexpl
55351 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55352 if test "x$ac_cv_func_frexpl" = x""yes; then :
55353 cat >>confdefs.h <<_ACEOF
55354 #define HAVE_FREXPL 1
55362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55363 $as_echo_n "checking for _frexpl declaration... " >&6; }
55364 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55365 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55366 $as_echo_n "(cached) " >&6
55371 ac_cpp='$CXXCPP $CPPFLAGS'
55372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55377 /* end confdefs.h. */
55387 if ac_fn_cxx_try_compile "$LINENO"; then :
55388 glibcxx_cv_func__frexpl_use=yes
55390 glibcxx_cv_func__frexpl_use=no
55392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55394 ac_cpp='$CPP $CPPFLAGS'
55395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55404 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55406 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55407 for ac_func in _frexpl
55409 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55410 if test "x$ac_cv_func__frexpl" = x""yes; then :
55411 cat >>confdefs.h <<_ACEOF
55412 #define HAVE__FREXPL 1
55425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55426 $as_echo_n "checking for hypotl declaration... " >&6; }
55427 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55428 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55429 $as_echo_n "(cached) " >&6
55434 ac_cpp='$CXXCPP $CPPFLAGS'
55435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55440 /* end confdefs.h. */
55450 if ac_fn_cxx_try_compile "$LINENO"; then :
55451 glibcxx_cv_func_hypotl_use=yes
55453 glibcxx_cv_func_hypotl_use=no
55455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55457 ac_cpp='$CPP $CPPFLAGS'
55458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55467 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55469 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55470 for ac_func in hypotl
55472 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55473 if test "x$ac_cv_func_hypotl" = x""yes; then :
55474 cat >>confdefs.h <<_ACEOF
55475 #define HAVE_HYPOTL 1
55483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55484 $as_echo_n "checking for _hypotl declaration... " >&6; }
55485 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55486 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55487 $as_echo_n "(cached) " >&6
55492 ac_cpp='$CXXCPP $CPPFLAGS'
55493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55498 /* end confdefs.h. */
55508 if ac_fn_cxx_try_compile "$LINENO"; then :
55509 glibcxx_cv_func__hypotl_use=yes
55511 glibcxx_cv_func__hypotl_use=no
55513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55515 ac_cpp='$CPP $CPPFLAGS'
55516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55525 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55527 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55528 for ac_func in _hypotl
55530 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55531 if test "x$ac_cv_func__hypotl" = x""yes; then :
55532 cat >>confdefs.h <<_ACEOF
55533 #define HAVE__HYPOTL 1
55546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55547 $as_echo_n "checking for ldexpl declaration... " >&6; }
55548 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55549 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55550 $as_echo_n "(cached) " >&6
55555 ac_cpp='$CXXCPP $CPPFLAGS'
55556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55561 /* end confdefs.h. */
55571 if ac_fn_cxx_try_compile "$LINENO"; then :
55572 glibcxx_cv_func_ldexpl_use=yes
55574 glibcxx_cv_func_ldexpl_use=no
55576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55578 ac_cpp='$CPP $CPPFLAGS'
55579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55588 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55590 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55591 for ac_func in ldexpl
55593 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55594 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55595 cat >>confdefs.h <<_ACEOF
55596 #define HAVE_LDEXPL 1
55604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55605 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55606 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55607 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55608 $as_echo_n "(cached) " >&6
55613 ac_cpp='$CXXCPP $CPPFLAGS'
55614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55619 /* end confdefs.h. */
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630 glibcxx_cv_func__ldexpl_use=yes
55632 glibcxx_cv_func__ldexpl_use=no
55634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55636 ac_cpp='$CPP $CPPFLAGS'
55637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55646 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55648 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55649 for ac_func in _ldexpl
55651 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55652 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55653 cat >>confdefs.h <<_ACEOF
55654 #define HAVE__LDEXPL 1
55667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55668 $as_echo_n "checking for logl declaration... " >&6; }
55669 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55670 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55671 $as_echo_n "(cached) " >&6
55676 ac_cpp='$CXXCPP $CPPFLAGS'
55677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55682 /* end confdefs.h. */
55684 #ifdef HAVE_IEEEFP_H
55685 #include <ieeefp.h>
55696 if ac_fn_cxx_try_compile "$LINENO"; then :
55697 glibcxx_cv_func_logl_use=yes
55699 glibcxx_cv_func_logl_use=no
55701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55703 ac_cpp='$CPP $CPPFLAGS'
55704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55713 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55715 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55716 for ac_func in logl
55718 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55719 if test "x$ac_cv_func_logl" = x""yes; then :
55720 cat >>confdefs.h <<_ACEOF
55721 #define HAVE_LOGL 1
55729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55730 $as_echo_n "checking for _logl declaration... " >&6; }
55731 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55732 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55733 $as_echo_n "(cached) " >&6
55738 ac_cpp='$CXXCPP $CPPFLAGS'
55739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55744 /* end confdefs.h. */
55746 #ifdef HAVE_IEEEFP_H
55747 #include <ieeefp.h>
55758 if ac_fn_cxx_try_compile "$LINENO"; then :
55759 glibcxx_cv_func__logl_use=yes
55761 glibcxx_cv_func__logl_use=no
55763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55765 ac_cpp='$CPP $CPPFLAGS'
55766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55775 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55777 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55778 for ac_func in _logl
55780 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55781 if test "x$ac_cv_func__logl" = x""yes; then :
55782 cat >>confdefs.h <<_ACEOF
55783 #define HAVE__LOGL 1
55796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55797 $as_echo_n "checking for log10l declaration... " >&6; }
55798 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55799 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55800 $as_echo_n "(cached) " >&6
55805 ac_cpp='$CXXCPP $CPPFLAGS'
55806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55811 /* end confdefs.h. */
55813 #ifdef HAVE_IEEEFP_H
55814 #include <ieeefp.h>
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826 glibcxx_cv_func_log10l_use=yes
55828 glibcxx_cv_func_log10l_use=no
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55842 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55844 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55845 for ac_func in log10l
55847 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55848 if test "x$ac_cv_func_log10l" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define HAVE_LOG10L 1
55858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55859 $as_echo_n "checking for _log10l declaration... " >&6; }
55860 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55861 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55862 $as_echo_n "(cached) " >&6
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h. */
55875 #ifdef HAVE_IEEEFP_H
55876 #include <ieeefp.h>
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888 glibcxx_cv_func__log10l_use=yes
55890 glibcxx_cv_func__log10l_use=no
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55904 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55906 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55907 for ac_func in _log10l
55909 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55910 if test "x$ac_cv_func__log10l" = x""yes; then :
55911 cat >>confdefs.h <<_ACEOF
55912 #define HAVE__LOG10L 1
55925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55926 $as_echo_n "checking for modfl declaration... " >&6; }
55927 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55928 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55929 $as_echo_n "(cached) " >&6
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55940 /* end confdefs.h. */
55950 if ac_fn_cxx_try_compile "$LINENO"; then :
55951 glibcxx_cv_func_modfl_use=yes
55953 glibcxx_cv_func_modfl_use=no
55955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55957 ac_cpp='$CPP $CPPFLAGS'
55958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55967 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55969 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55970 for ac_func in modfl
55972 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55973 if test "x$ac_cv_func_modfl" = x""yes; then :
55974 cat >>confdefs.h <<_ACEOF
55975 #define HAVE_MODFL 1
55983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55984 $as_echo_n "checking for _modfl declaration... " >&6; }
55985 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55986 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55987 $as_echo_n "(cached) " >&6
55992 ac_cpp='$CXXCPP $CPPFLAGS'
55993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55998 /* end confdefs.h. */
56008 if ac_fn_cxx_try_compile "$LINENO"; then :
56009 glibcxx_cv_func__modfl_use=yes
56011 glibcxx_cv_func__modfl_use=no
56013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56015 ac_cpp='$CPP $CPPFLAGS'
56016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56025 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56027 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56028 for ac_func in _modfl
56030 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56031 if test "x$ac_cv_func__modfl" = x""yes; then :
56032 cat >>confdefs.h <<_ACEOF
56033 #define HAVE__MODFL 1
56046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56047 $as_echo_n "checking for powl declaration... " >&6; }
56048 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56049 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56050 $as_echo_n "(cached) " >&6
56055 ac_cpp='$CXXCPP $CPPFLAGS'
56056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56061 /* end confdefs.h. */
56071 if ac_fn_cxx_try_compile "$LINENO"; then :
56072 glibcxx_cv_func_powl_use=yes
56074 glibcxx_cv_func_powl_use=no
56076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56078 ac_cpp='$CPP $CPPFLAGS'
56079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56088 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56090 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56091 for ac_func in powl
56093 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56094 if test "x$ac_cv_func_powl" = x""yes; then :
56095 cat >>confdefs.h <<_ACEOF
56096 #define HAVE_POWL 1
56104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56105 $as_echo_n "checking for _powl declaration... " >&6; }
56106 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56107 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56108 $as_echo_n "(cached) " >&6
56113 ac_cpp='$CXXCPP $CPPFLAGS'
56114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56119 /* end confdefs.h. */
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130 glibcxx_cv_func__powl_use=yes
56132 glibcxx_cv_func__powl_use=no
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56146 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56148 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56149 for ac_func in _powl
56151 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56152 if test "x$ac_cv_func__powl" = x""yes; then :
56153 cat >>confdefs.h <<_ACEOF
56154 #define HAVE__POWL 1
56167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56168 $as_echo_n "checking for sqrtl declaration... " >&6; }
56169 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56170 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56171 $as_echo_n "(cached) " >&6
56176 ac_cpp='$CXXCPP $CPPFLAGS'
56177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56182 /* end confdefs.h. */
56184 #ifdef HAVE_IEEEFP_H
56185 #include <ieeefp.h>
56196 if ac_fn_cxx_try_compile "$LINENO"; then :
56197 glibcxx_cv_func_sqrtl_use=yes
56199 glibcxx_cv_func_sqrtl_use=no
56201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56203 ac_cpp='$CPP $CPPFLAGS'
56204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56213 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56215 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56216 for ac_func in sqrtl
56218 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56219 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56220 cat >>confdefs.h <<_ACEOF
56221 #define HAVE_SQRTL 1
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56230 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56231 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56232 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56233 $as_echo_n "(cached) " >&6
56238 ac_cpp='$CXXCPP $CPPFLAGS'
56239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56244 /* end confdefs.h. */
56246 #ifdef HAVE_IEEEFP_H
56247 #include <ieeefp.h>
56258 if ac_fn_cxx_try_compile "$LINENO"; then :
56259 glibcxx_cv_func__sqrtl_use=yes
56261 glibcxx_cv_func__sqrtl_use=no
56263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56265 ac_cpp='$CPP $CPPFLAGS'
56266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56275 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56277 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56278 for ac_func in _sqrtl
56280 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56281 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56282 cat >>confdefs.h <<_ACEOF
56283 #define HAVE__SQRTL 1
56296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56297 $as_echo_n "checking for sincosl declaration... " >&6; }
56298 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56299 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56300 $as_echo_n "(cached) " >&6
56305 ac_cpp='$CXXCPP $CPPFLAGS'
56306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56311 /* end confdefs.h. */
56321 if ac_fn_cxx_try_compile "$LINENO"; then :
56322 glibcxx_cv_func_sincosl_use=yes
56324 glibcxx_cv_func_sincosl_use=no
56326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56338 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56340 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56341 for ac_func in sincosl
56343 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56344 if test "x$ac_cv_func_sincosl" = x""yes; then :
56345 cat >>confdefs.h <<_ACEOF
56346 #define HAVE_SINCOSL 1
56354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56355 $as_echo_n "checking for _sincosl declaration... " >&6; }
56356 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56357 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56358 $as_echo_n "(cached) " >&6
56363 ac_cpp='$CXXCPP $CPPFLAGS'
56364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56369 /* end confdefs.h. */
56379 if ac_fn_cxx_try_compile "$LINENO"; then :
56380 glibcxx_cv_func__sincosl_use=yes
56382 glibcxx_cv_func__sincosl_use=no
56384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56386 ac_cpp='$CPP $CPPFLAGS'
56387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56396 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56398 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56399 for ac_func in _sincosl
56401 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56402 if test "x$ac_cv_func__sincosl" = x""yes; then :
56403 cat >>confdefs.h <<_ACEOF
56404 #define HAVE__SINCOSL 1
56417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56418 $as_echo_n "checking for finitel declaration... " >&6; }
56419 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56420 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56421 $as_echo_n "(cached) " >&6
56426 ac_cpp='$CXXCPP $CPPFLAGS'
56427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56432 /* end confdefs.h. */
56434 #ifdef HAVE_IEEEFP_H
56435 #include <ieeefp.h>
56446 if ac_fn_cxx_try_compile "$LINENO"; then :
56447 glibcxx_cv_func_finitel_use=yes
56449 glibcxx_cv_func_finitel_use=no
56451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56453 ac_cpp='$CPP $CPPFLAGS'
56454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56463 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56465 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56466 for ac_func in finitel
56468 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56469 if test "x$ac_cv_func_finitel" = x""yes; then :
56470 cat >>confdefs.h <<_ACEOF
56471 #define HAVE_FINITEL 1
56479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56480 $as_echo_n "checking for _finitel declaration... " >&6; }
56481 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56482 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56483 $as_echo_n "(cached) " >&6
56488 ac_cpp='$CXXCPP $CPPFLAGS'
56489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56494 /* end confdefs.h. */
56496 #ifdef HAVE_IEEEFP_H
56497 #include <ieeefp.h>
56508 if ac_fn_cxx_try_compile "$LINENO"; then :
56509 glibcxx_cv_func__finitel_use=yes
56511 glibcxx_cv_func__finitel_use=no
56513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56515 ac_cpp='$CPP $CPPFLAGS'
56516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56525 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56527 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56528 for ac_func in _finitel
56530 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56531 if test "x$ac_cv_func__finitel" = x""yes; then :
56532 cat >>confdefs.h <<_ACEOF
56533 #define HAVE__FINITEL 1
56545 LIBS="$ac_save_LIBS"
56546 CXXFLAGS="$ac_save_CXXFLAGS"
56549 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56550 ac_save_CXXFLAGS="$CXXFLAGS"
56551 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56555 $as_echo_n "checking for strtold declaration... " >&6; }
56556 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56557 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56558 $as_echo_n "(cached) " >&6
56563 ac_cpp='$CXXCPP $CPPFLAGS'
56564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56569 /* end confdefs.h. */
56570 #include <stdlib.h>
56579 if ac_fn_cxx_try_compile "$LINENO"; then :
56580 glibcxx_cv_func_strtold_use=yes
56582 glibcxx_cv_func_strtold_use=no
56584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56586 ac_cpp='$CPP $CPPFLAGS'
56587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56596 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56597 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56598 for ac_func in strtold
56600 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56601 if test "x$ac_cv_func_strtold" = x""yes; then :
56602 cat >>confdefs.h <<_ACEOF
56603 #define HAVE_STRTOLD 1
56614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56615 $as_echo_n "checking for strtof declaration... " >&6; }
56616 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56617 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56618 $as_echo_n "(cached) " >&6
56623 ac_cpp='$CXXCPP $CPPFLAGS'
56624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56629 /* end confdefs.h. */
56630 #include <stdlib.h>
56639 if ac_fn_cxx_try_compile "$LINENO"; then :
56640 glibcxx_cv_func_strtof_use=yes
56642 glibcxx_cv_func_strtof_use=no
56644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56646 ac_cpp='$CPP $CPPFLAGS'
56647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56656 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56657 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56658 for ac_func in strtof
56660 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56661 if test "x$ac_cv_func_strtof" = x""yes; then :
56662 cat >>confdefs.h <<_ACEOF
56663 #define HAVE_STRTOF 1
56674 CXXFLAGS="$ac_save_CXXFLAGS"
56678 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56681 # If we're not using GNU ld, then there's no point in even trying these
56682 # tests. Check for that first. We should have already tested for gld
56683 # by now (in libtool), but require it now just to be safe...
56684 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56685 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56689 # The name set by libtool depends on the version of libtool. Shame on us
56690 # for depending on an impl detail, but c'est la vie. Older versions used
56691 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56692 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56693 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56694 # set (hence we're using an older libtool), then set it.
56695 if test x${with_gnu_ld+set} != xset; then
56696 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56697 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56700 with_gnu_ld=$ac_cv_prog_gnu_ld
56704 # Start by getting the version number. I think the libtool test already
56705 # does some of this, but throws away the result.
56706 glibcxx_ld_is_gold=no
56707 if test x"$with_gnu_ld" = x"yes"; then
56708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56709 $as_echo_n "checking for ld version... " >&6; }
56711 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56712 glibcxx_ld_is_gold=yes
56714 ldver=`$LD --version 2>/dev/null |
56715 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56717 glibcxx_gnu_ld_version=`echo $ldver | \
56718 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56720 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56723 # Set --gc-sections.
56724 glibcxx_have_gc_sections=no
56725 if test "$glibcxx_ld_is_gold" = "yes"; then
56726 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56727 glibcxx_have_gc_sections=yes
56730 glibcxx_gcsections_min_ld=21602
56731 if test x"$with_gnu_ld" = x"yes" &&
56732 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56733 glibcxx_have_gc_sections=yes
56736 if test "$glibcxx_have_gc_sections" = "yes"; then
56737 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56738 # NB: This flag only works reliably after 2.16.1. Configure tests
56739 # for this are difficult, so hard wire a value that should work.
56741 ac_test_CFLAGS="${CFLAGS+set}"
56742 ac_save_CFLAGS="$CFLAGS"
56743 CFLAGS='-Wl,--gc-sections'
56745 # Check for -Wl,--gc-sections
56746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56747 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56748 if test x$gcc_no_link = xyes; then
56749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56752 /* end confdefs.h. */
56753 int one(void) { return 1; }
56754 int two(void) { return 2; }
56764 if ac_fn_c_try_link "$LINENO"; then :
56769 rm -f core conftest.err conftest.$ac_objext \
56770 conftest$ac_exeext conftest.$ac_ext
56771 if test "$ac_gcsections" = "yes"; then
56774 if $CC -c conftest.c; then
56775 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56776 grep "Warning: gc-sections option ignored" > /dev/null; then
56780 rm -f conftest.c conftest.o conftest
56782 if test "$ac_gcsections" = "yes"; then
56783 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56786 $as_echo "$ac_gcsections" >&6; }
56788 if test "$ac_test_CFLAGS" = set; then
56789 CFLAGS="$ac_save_CFLAGS"
56791 # this is the suspicious part
56797 # Note this is only for shared objects.
56799 if test x"$with_gnu_ld" = x"yes"; then
56800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56801 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56802 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56803 if test -n "$cxx_z_relo"; then
56804 OPT_LDFLAGS="-Wl,-z,relro"
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56808 $as_echo "$ac_ld_relro" >&6; }
56811 # Set linker optimization flags.
56812 if test x"$with_gnu_ld" = x"yes"; then
56813 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56819 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56821 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56823 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56825 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56827 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56829 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56831 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56833 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56835 if test x"long_double_math_on_this_cpu" = x"yes"; then
56836 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56838 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56840 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56845 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56848 # If we're not using GNU ld, then there's no point in even trying these
56849 # tests. Check for that first. We should have already tested for gld
56850 # by now (in libtool), but require it now just to be safe...
56851 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56852 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56856 # The name set by libtool depends on the version of libtool. Shame on us
56857 # for depending on an impl detail, but c'est la vie. Older versions used
56858 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56859 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56860 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56861 # set (hence we're using an older libtool), then set it.
56862 if test x${with_gnu_ld+set} != xset; then
56863 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56864 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56867 with_gnu_ld=$ac_cv_prog_gnu_ld
56871 # Start by getting the version number. I think the libtool test already
56872 # does some of this, but throws away the result.
56873 glibcxx_ld_is_gold=no
56874 if test x"$with_gnu_ld" = x"yes"; then
56875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56876 $as_echo_n "checking for ld version... " >&6; }
56878 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56879 glibcxx_ld_is_gold=yes
56881 ldver=`$LD --version 2>/dev/null |
56882 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
56884 glibcxx_gnu_ld_version=`echo $ldver | \
56885 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56887 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56890 # Set --gc-sections.
56891 glibcxx_have_gc_sections=no
56892 if test "$glibcxx_ld_is_gold" = "yes"; then
56893 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56894 glibcxx_have_gc_sections=yes
56897 glibcxx_gcsections_min_ld=21602
56898 if test x"$with_gnu_ld" = x"yes" &&
56899 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56900 glibcxx_have_gc_sections=yes
56903 if test "$glibcxx_have_gc_sections" = "yes"; then
56904 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56905 # NB: This flag only works reliably after 2.16.1. Configure tests
56906 # for this are difficult, so hard wire a value that should work.
56908 ac_test_CFLAGS="${CFLAGS+set}"
56909 ac_save_CFLAGS="$CFLAGS"
56910 CFLAGS='-Wl,--gc-sections'
56912 # Check for -Wl,--gc-sections
56913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56914 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56915 if test x$gcc_no_link = xyes; then
56916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56919 /* end confdefs.h. */
56920 int one(void) { return 1; }
56921 int two(void) { return 2; }
56931 if ac_fn_c_try_link "$LINENO"; then :
56936 rm -f core conftest.err conftest.$ac_objext \
56937 conftest$ac_exeext conftest.$ac_ext
56938 if test "$ac_gcsections" = "yes"; then
56941 if $CC -c conftest.c; then
56942 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56943 grep "Warning: gc-sections option ignored" > /dev/null; then
56947 rm -f conftest.c conftest.o conftest
56949 if test "$ac_gcsections" = "yes"; then
56950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56953 $as_echo "$ac_gcsections" >&6; }
56955 if test "$ac_test_CFLAGS" = set; then
56956 CFLAGS="$ac_save_CFLAGS"
56958 # this is the suspicious part
56964 # Note this is only for shared objects.
56966 if test x"$with_gnu_ld" = x"yes"; then
56967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56968 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56969 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56970 if test -n "$cxx_z_relo"; then
56971 OPT_LDFLAGS="-Wl,-z,relro"
56974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56975 $as_echo "$ac_ld_relro" >&6; }
56978 # Set linker optimization flags.
56979 if test x"$with_gnu_ld" = x"yes"; then
56980 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56986 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56988 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56990 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56993 *-qnx6.1* | *-qnx6.2*)
56994 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56997 # If we're not using GNU ld, then there's no point in even trying these
56998 # tests. Check for that first. We should have already tested for gld
56999 # by now (in libtool), but require it now just to be safe...
57000 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57001 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57005 # The name set by libtool depends on the version of libtool. Shame on us
57006 # for depending on an impl detail, but c'est la vie. Older versions used
57007 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57008 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57009 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57010 # set (hence we're using an older libtool), then set it.
57011 if test x${with_gnu_ld+set} != xset; then
57012 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57013 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57016 with_gnu_ld=$ac_cv_prog_gnu_ld
57020 # Start by getting the version number. I think the libtool test already
57021 # does some of this, but throws away the result.
57022 glibcxx_ld_is_gold=no
57023 if test x"$with_gnu_ld" = x"yes"; then
57024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57025 $as_echo_n "checking for ld version... " >&6; }
57027 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57028 glibcxx_ld_is_gold=yes
57030 ldver=`$LD --version 2>/dev/null |
57031 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57033 glibcxx_gnu_ld_version=`echo $ldver | \
57034 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57036 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57039 # Set --gc-sections.
57040 glibcxx_have_gc_sections=no
57041 if test "$glibcxx_ld_is_gold" = "yes"; then
57042 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57043 glibcxx_have_gc_sections=yes
57046 glibcxx_gcsections_min_ld=21602
57047 if test x"$with_gnu_ld" = x"yes" &&
57048 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57049 glibcxx_have_gc_sections=yes
57052 if test "$glibcxx_have_gc_sections" = "yes"; then
57053 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57054 # NB: This flag only works reliably after 2.16.1. Configure tests
57055 # for this are difficult, so hard wire a value that should work.
57057 ac_test_CFLAGS="${CFLAGS+set}"
57058 ac_save_CFLAGS="$CFLAGS"
57059 CFLAGS='-Wl,--gc-sections'
57061 # Check for -Wl,--gc-sections
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57063 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57064 if test x$gcc_no_link = xyes; then
57065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57068 /* end confdefs.h. */
57069 int one(void) { return 1; }
57070 int two(void) { return 2; }
57080 if ac_fn_c_try_link "$LINENO"; then :
57085 rm -f core conftest.err conftest.$ac_objext \
57086 conftest$ac_exeext conftest.$ac_ext
57087 if test "$ac_gcsections" = "yes"; then
57090 if $CC -c conftest.c; then
57091 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57092 grep "Warning: gc-sections option ignored" > /dev/null; then
57096 rm -f conftest.c conftest.o conftest
57098 if test "$ac_gcsections" = "yes"; then
57099 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57102 $as_echo "$ac_gcsections" >&6; }
57104 if test "$ac_test_CFLAGS" = set; then
57105 CFLAGS="$ac_save_CFLAGS"
57107 # this is the suspicious part
57113 # Note this is only for shared objects.
57115 if test x"$with_gnu_ld" = x"yes"; then
57116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57117 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57118 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57119 if test -n "$cxx_z_relo"; then
57120 OPT_LDFLAGS="-Wl,-z,relro"
57123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57124 $as_echo "$ac_ld_relro" >&6; }
57127 # Set linker optimization flags.
57128 if test x"$with_gnu_ld" = x"yes"; then
57129 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57135 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57137 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57139 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57141 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57143 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57145 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57147 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57149 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57151 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57153 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57155 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57157 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57162 # All these tests are for C++; save the language and the compiler flags.
57163 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57164 # found in GLIBCXX_CONFIGURE.
57167 ac_cpp='$CXXCPP $CPPFLAGS'
57168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57172 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57173 ac_save_CXXFLAGS="$CXXFLAGS"
57175 # Check for maintainer-mode bits.
57176 if test x"$USE_MAINTAINER_MODE" = xno; then
57182 # Check for -ffunction-sections -fdata-sections
57183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57184 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57185 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57187 /* end confdefs.h. */
57188 int foo; void bar() { };
57197 if ac_fn_cxx_try_compile "$LINENO"; then :
57202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57203 if test "$ac_test_CXXFLAGS" = set; then
57204 CXXFLAGS="$ac_save_CXXFLAGS"
57206 # this is the suspicious part
57209 if test x"$ac_fdsections" = x"yes"; then
57210 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57213 $as_echo "$ac_fdsections" >&6; }
57216 ac_cpp='$CPP $CPPFLAGS'
57217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57225 # If we're not using GNU ld, then there's no point in even trying these
57226 # tests. Check for that first. We should have already tested for gld
57227 # by now (in libtool), but require it now just to be safe...
57228 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57229 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57233 # The name set by libtool depends on the version of libtool. Shame on us
57234 # for depending on an impl detail, but c'est la vie. Older versions used
57235 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57236 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57237 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57238 # set (hence we're using an older libtool), then set it.
57239 if test x${with_gnu_ld+set} != xset; then
57240 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57241 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57244 with_gnu_ld=$ac_cv_prog_gnu_ld
57248 # Start by getting the version number. I think the libtool test already
57249 # does some of this, but throws away the result.
57250 glibcxx_ld_is_gold=no
57251 if test x"$with_gnu_ld" = x"yes"; then
57252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57253 $as_echo_n "checking for ld version... " >&6; }
57255 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57256 glibcxx_ld_is_gold=yes
57258 ldver=`$LD --version 2>/dev/null |
57259 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57261 glibcxx_gnu_ld_version=`echo $ldver | \
57262 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57264 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57267 # Set --gc-sections.
57268 glibcxx_have_gc_sections=no
57269 if test "$glibcxx_ld_is_gold" = "yes"; then
57270 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57271 glibcxx_have_gc_sections=yes
57274 glibcxx_gcsections_min_ld=21602
57275 if test x"$with_gnu_ld" = x"yes" &&
57276 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57277 glibcxx_have_gc_sections=yes
57280 if test "$glibcxx_have_gc_sections" = "yes"; then
57281 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57282 # NB: This flag only works reliably after 2.16.1. Configure tests
57283 # for this are difficult, so hard wire a value that should work.
57285 ac_test_CFLAGS="${CFLAGS+set}"
57286 ac_save_CFLAGS="$CFLAGS"
57287 CFLAGS='-Wl,--gc-sections'
57289 # Check for -Wl,--gc-sections
57290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57291 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57292 if test x$gcc_no_link = xyes; then
57293 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57296 /* end confdefs.h. */
57297 int one(void) { return 1; }
57298 int two(void) { return 2; }
57308 if ac_fn_c_try_link "$LINENO"; then :
57313 rm -f core conftest.err conftest.$ac_objext \
57314 conftest$ac_exeext conftest.$ac_ext
57315 if test "$ac_gcsections" = "yes"; then
57318 if $CC -c conftest.c; then
57319 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57320 grep "Warning: gc-sections option ignored" > /dev/null; then
57324 rm -f conftest.c conftest.o conftest
57326 if test "$ac_gcsections" = "yes"; then
57327 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57330 $as_echo "$ac_gcsections" >&6; }
57332 if test "$ac_test_CFLAGS" = set; then
57333 CFLAGS="$ac_save_CFLAGS"
57335 # this is the suspicious part
57341 # Note this is only for shared objects.
57343 if test x"$with_gnu_ld" = x"yes"; then
57344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57345 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57346 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57347 if test -n "$cxx_z_relo"; then
57348 OPT_LDFLAGS="-Wl,-z,relro"
57351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57352 $as_echo "$ac_ld_relro" >&6; }
57355 # Set linker optimization flags.
57356 if test x"$with_gnu_ld" = x"yes"; then
57357 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57364 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57365 ac_save_CXXFLAGS="$CXXFLAGS"
57366 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57369 $as_echo_n "checking for sin in -lm... " >&6; }
57370 if test "${ac_cv_lib_m_sin+set}" = set; then :
57371 $as_echo_n "(cached) " >&6
57373 ac_check_lib_save_LIBS=$LIBS
57375 if test x$gcc_no_link = xyes; then
57376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57379 /* end confdefs.h. */
57381 /* Override any GCC internal prototype to avoid an error.
57382 Use char because int might match the return type of a GCC
57383 builtin and then its argument prototype would still apply. */
57396 if ac_fn_c_try_link "$LINENO"; then :
57397 ac_cv_lib_m_sin=yes
57401 rm -f core conftest.err conftest.$ac_objext \
57402 conftest$ac_exeext conftest.$ac_ext
57403 LIBS=$ac_check_lib_save_LIBS
57405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57406 $as_echo "$ac_cv_lib_m_sin" >&6; }
57407 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57411 ac_save_LIBS="$LIBS"
57416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57417 $as_echo_n "checking for isinf declaration... " >&6; }
57418 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57419 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57420 $as_echo_n "(cached) " >&6
57425 ac_cpp='$CXXCPP $CPPFLAGS'
57426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57431 /* end confdefs.h. */
57433 #ifdef HAVE_IEEEFP_H
57434 #include <ieeefp.h>
57445 if ac_fn_cxx_try_compile "$LINENO"; then :
57446 glibcxx_cv_func_isinf_use=yes
57448 glibcxx_cv_func_isinf_use=no
57450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57452 ac_cpp='$CPP $CPPFLAGS'
57453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57462 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57464 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57465 for ac_func in isinf
57467 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57468 if test "x$ac_cv_func_isinf" = x""yes; then :
57469 cat >>confdefs.h <<_ACEOF
57470 #define HAVE_ISINF 1
57478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57479 $as_echo_n "checking for _isinf declaration... " >&6; }
57480 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57481 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57482 $as_echo_n "(cached) " >&6
57487 ac_cpp='$CXXCPP $CPPFLAGS'
57488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57493 /* end confdefs.h. */
57495 #ifdef HAVE_IEEEFP_H
57496 #include <ieeefp.h>
57507 if ac_fn_cxx_try_compile "$LINENO"; then :
57508 glibcxx_cv_func__isinf_use=yes
57510 glibcxx_cv_func__isinf_use=no
57512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57514 ac_cpp='$CPP $CPPFLAGS'
57515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57524 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57526 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57527 for ac_func in _isinf
57529 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57530 if test "x$ac_cv_func__isinf" = x""yes; then :
57531 cat >>confdefs.h <<_ACEOF
57532 #define HAVE__ISINF 1
57545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57546 $as_echo_n "checking for isnan declaration... " >&6; }
57547 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57548 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57549 $as_echo_n "(cached) " >&6
57554 ac_cpp='$CXXCPP $CPPFLAGS'
57555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57560 /* end confdefs.h. */
57562 #ifdef HAVE_IEEEFP_H
57563 #include <ieeefp.h>
57574 if ac_fn_cxx_try_compile "$LINENO"; then :
57575 glibcxx_cv_func_isnan_use=yes
57577 glibcxx_cv_func_isnan_use=no
57579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57581 ac_cpp='$CPP $CPPFLAGS'
57582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57591 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57593 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57594 for ac_func in isnan
57596 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57597 if test "x$ac_cv_func_isnan" = x""yes; then :
57598 cat >>confdefs.h <<_ACEOF
57599 #define HAVE_ISNAN 1
57607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57608 $as_echo_n "checking for _isnan declaration... " >&6; }
57609 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57610 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57611 $as_echo_n "(cached) " >&6
57616 ac_cpp='$CXXCPP $CPPFLAGS'
57617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57622 /* end confdefs.h. */
57624 #ifdef HAVE_IEEEFP_H
57625 #include <ieeefp.h>
57636 if ac_fn_cxx_try_compile "$LINENO"; then :
57637 glibcxx_cv_func__isnan_use=yes
57639 glibcxx_cv_func__isnan_use=no
57641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57643 ac_cpp='$CPP $CPPFLAGS'
57644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57653 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57655 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57656 for ac_func in _isnan
57658 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57659 if test "x$ac_cv_func__isnan" = x""yes; then :
57660 cat >>confdefs.h <<_ACEOF
57661 #define HAVE__ISNAN 1
57674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57675 $as_echo_n "checking for finite declaration... " >&6; }
57676 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57677 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57678 $as_echo_n "(cached) " >&6
57683 ac_cpp='$CXXCPP $CPPFLAGS'
57684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57689 /* end confdefs.h. */
57691 #ifdef HAVE_IEEEFP_H
57692 #include <ieeefp.h>
57703 if ac_fn_cxx_try_compile "$LINENO"; then :
57704 glibcxx_cv_func_finite_use=yes
57706 glibcxx_cv_func_finite_use=no
57708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57710 ac_cpp='$CPP $CPPFLAGS'
57711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57720 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57722 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57723 for ac_func in finite
57725 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57726 if test "x$ac_cv_func_finite" = x""yes; then :
57727 cat >>confdefs.h <<_ACEOF
57728 #define HAVE_FINITE 1
57736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57737 $as_echo_n "checking for _finite declaration... " >&6; }
57738 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57739 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57740 $as_echo_n "(cached) " >&6
57745 ac_cpp='$CXXCPP $CPPFLAGS'
57746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57751 /* end confdefs.h. */
57753 #ifdef HAVE_IEEEFP_H
57754 #include <ieeefp.h>
57765 if ac_fn_cxx_try_compile "$LINENO"; then :
57766 glibcxx_cv_func__finite_use=yes
57768 glibcxx_cv_func__finite_use=no
57770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57772 ac_cpp='$CPP $CPPFLAGS'
57773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57782 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57784 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57785 for ac_func in _finite
57787 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57788 if test "x$ac_cv_func__finite" = x""yes; then :
57789 cat >>confdefs.h <<_ACEOF
57790 #define HAVE__FINITE 1
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57804 $as_echo_n "checking for sincos declaration... " >&6; }
57805 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57806 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57807 $as_echo_n "(cached) " >&6
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57818 /* end confdefs.h. */
57828 if ac_fn_cxx_try_compile "$LINENO"; then :
57829 glibcxx_cv_func_sincos_use=yes
57831 glibcxx_cv_func_sincos_use=no
57833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57835 ac_cpp='$CPP $CPPFLAGS'
57836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57845 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57847 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57848 for ac_func in sincos
57850 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57851 if test "x$ac_cv_func_sincos" = x""yes; then :
57852 cat >>confdefs.h <<_ACEOF
57853 #define HAVE_SINCOS 1
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57862 $as_echo_n "checking for _sincos declaration... " >&6; }
57863 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57864 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57865 $as_echo_n "(cached) " >&6
57870 ac_cpp='$CXXCPP $CPPFLAGS'
57871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57876 /* end confdefs.h. */
57886 if ac_fn_cxx_try_compile "$LINENO"; then :
57887 glibcxx_cv_func__sincos_use=yes
57889 glibcxx_cv_func__sincos_use=no
57891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57893 ac_cpp='$CPP $CPPFLAGS'
57894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57903 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57905 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57906 for ac_func in _sincos
57908 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
57909 if test "x$ac_cv_func__sincos" = x""yes; then :
57910 cat >>confdefs.h <<_ACEOF
57911 #define HAVE__SINCOS 1
57924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
57925 $as_echo_n "checking for fpclass declaration... " >&6; }
57926 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57927 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
57928 $as_echo_n "(cached) " >&6
57933 ac_cpp='$CXXCPP $CPPFLAGS'
57934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57939 /* end confdefs.h. */
57941 #ifdef HAVE_IEEEFP_H
57942 #include <ieeefp.h>
57953 if ac_fn_cxx_try_compile "$LINENO"; then :
57954 glibcxx_cv_func_fpclass_use=yes
57956 glibcxx_cv_func_fpclass_use=no
57958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57960 ac_cpp='$CPP $CPPFLAGS'
57961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57970 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57972 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57973 for ac_func in fpclass
57975 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57976 if test "x$ac_cv_func_fpclass" = x""yes; then :
57977 cat >>confdefs.h <<_ACEOF
57978 #define HAVE_FPCLASS 1
57986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57987 $as_echo_n "checking for _fpclass declaration... " >&6; }
57988 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57989 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
57990 $as_echo_n "(cached) " >&6
57995 ac_cpp='$CXXCPP $CPPFLAGS'
57996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58001 /* end confdefs.h. */
58003 #ifdef HAVE_IEEEFP_H
58004 #include <ieeefp.h>
58015 if ac_fn_cxx_try_compile "$LINENO"; then :
58016 glibcxx_cv_func__fpclass_use=yes
58018 glibcxx_cv_func__fpclass_use=no
58020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58022 ac_cpp='$CPP $CPPFLAGS'
58023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58032 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58034 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58035 for ac_func in _fpclass
58037 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58038 if test "x$ac_cv_func__fpclass" = x""yes; then :
58039 cat >>confdefs.h <<_ACEOF
58040 #define HAVE__FPCLASS 1
58053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58054 $as_echo_n "checking for qfpclass declaration... " >&6; }
58055 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58056 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58057 $as_echo_n "(cached) " >&6
58062 ac_cpp='$CXXCPP $CPPFLAGS'
58063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58068 /* end confdefs.h. */
58070 #ifdef HAVE_IEEEFP_H
58071 #include <ieeefp.h>
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083 glibcxx_cv_func_qfpclass_use=yes
58085 glibcxx_cv_func_qfpclass_use=no
58087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58089 ac_cpp='$CPP $CPPFLAGS'
58090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58099 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58101 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58102 for ac_func in qfpclass
58104 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58105 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58106 cat >>confdefs.h <<_ACEOF
58107 #define HAVE_QFPCLASS 1
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58116 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58117 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58118 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58119 $as_echo_n "(cached) " >&6
58124 ac_cpp='$CXXCPP $CPPFLAGS'
58125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58130 /* end confdefs.h. */
58132 #ifdef HAVE_IEEEFP_H
58133 #include <ieeefp.h>
58144 if ac_fn_cxx_try_compile "$LINENO"; then :
58145 glibcxx_cv_func__qfpclass_use=yes
58147 glibcxx_cv_func__qfpclass_use=no
58149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58151 ac_cpp='$CPP $CPPFLAGS'
58152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58161 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58163 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58164 for ac_func in _qfpclass
58166 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58167 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58168 cat >>confdefs.h <<_ACEOF
58169 #define HAVE__QFPCLASS 1
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58183 $as_echo_n "checking for hypot declaration... " >&6; }
58184 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58185 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58186 $as_echo_n "(cached) " >&6
58191 ac_cpp='$CXXCPP $CPPFLAGS'
58192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58197 /* end confdefs.h. */
58207 if ac_fn_cxx_try_compile "$LINENO"; then :
58208 glibcxx_cv_func_hypot_use=yes
58210 glibcxx_cv_func_hypot_use=no
58212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58214 ac_cpp='$CPP $CPPFLAGS'
58215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58224 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58226 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58227 for ac_func in hypot
58229 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58230 if test "x$ac_cv_func_hypot" = x""yes; then :
58231 cat >>confdefs.h <<_ACEOF
58232 #define HAVE_HYPOT 1
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58241 $as_echo_n "checking for _hypot declaration... " >&6; }
58242 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58243 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58244 $as_echo_n "(cached) " >&6
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58255 /* end confdefs.h. */
58265 if ac_fn_cxx_try_compile "$LINENO"; then :
58266 glibcxx_cv_func__hypot_use=yes
58268 glibcxx_cv_func__hypot_use=no
58270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58272 ac_cpp='$CPP $CPPFLAGS'
58273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58282 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58284 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58285 for ac_func in _hypot
58287 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58288 if test "x$ac_cv_func__hypot" = x""yes; then :
58289 cat >>confdefs.h <<_ACEOF
58290 #define HAVE__HYPOT 1
58303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58304 $as_echo_n "checking for float trig functions... " >&6; }
58305 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58306 $as_echo_n "(cached) " >&6
58311 ac_cpp='$CXXCPP $CPPFLAGS'
58312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58317 /* end confdefs.h. */
58322 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58327 if ac_fn_cxx_try_compile "$LINENO"; then :
58328 glibcxx_cv_func_float_trig_use=yes
58330 glibcxx_cv_func_float_trig_use=no
58332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58334 ac_cpp='$CPP $CPPFLAGS'
58335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58342 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58343 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58344 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58348 eval as_val=\$$as_ac_var
58349 if test "x$as_val" = x""yes; then :
58350 cat >>confdefs.h <<_ACEOF
58351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58359 $as_echo_n "checking for _float trig functions... " >&6; }
58360 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58361 $as_echo_n "(cached) " >&6
58366 ac_cpp='$CXXCPP $CPPFLAGS'
58367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58372 /* end confdefs.h. */
58377 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58382 if ac_fn_cxx_try_compile "$LINENO"; then :
58383 glibcxx_cv_func__float_trig_use=yes
58385 glibcxx_cv_func__float_trig_use=no
58387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58389 ac_cpp='$CPP $CPPFLAGS'
58390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58397 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58398 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58399 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58403 eval as_val=\$$as_ac_var
58404 if test "x$as_val" = x""yes; then :
58405 cat >>confdefs.h <<_ACEOF
58406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58420 $as_echo_n "checking for float round functions... " >&6; }
58421 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58422 $as_echo_n "(cached) " >&6
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58433 /* end confdefs.h. */
58438 ceilf (0); floorf (0);
58443 if ac_fn_cxx_try_compile "$LINENO"; then :
58444 glibcxx_cv_func_float_round_use=yes
58446 glibcxx_cv_func_float_round_use=no
58448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58450 ac_cpp='$CPP $CPPFLAGS'
58451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58458 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58459 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58460 for ac_func in ceilf floorf
58462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58464 eval as_val=\$$as_ac_var
58465 if test "x$as_val" = x""yes; then :
58466 cat >>confdefs.h <<_ACEOF
58467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58475 $as_echo_n "checking for _float round functions... " >&6; }
58476 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58477 $as_echo_n "(cached) " >&6
58482 ac_cpp='$CXXCPP $CPPFLAGS'
58483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58488 /* end confdefs.h. */
58493 _ceilf (0); _floorf (0);
58498 if ac_fn_cxx_try_compile "$LINENO"; then :
58499 glibcxx_cv_func__float_round_use=yes
58501 glibcxx_cv_func__float_round_use=no
58503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58505 ac_cpp='$CPP $CPPFLAGS'
58506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58513 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58514 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58515 for ac_func in _ceilf _floorf
58517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58519 eval as_val=\$$as_ac_var
58520 if test "x$as_val" = x""yes; then :
58521 cat >>confdefs.h <<_ACEOF
58522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58537 $as_echo_n "checking for expf declaration... " >&6; }
58538 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58539 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58540 $as_echo_n "(cached) " >&6
58545 ac_cpp='$CXXCPP $CPPFLAGS'
58546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58551 /* end confdefs.h. */
58553 #ifdef HAVE_IEEEFP_H
58554 #include <ieeefp.h>
58565 if ac_fn_cxx_try_compile "$LINENO"; then :
58566 glibcxx_cv_func_expf_use=yes
58568 glibcxx_cv_func_expf_use=no
58570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58572 ac_cpp='$CPP $CPPFLAGS'
58573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58582 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58584 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58585 for ac_func in expf
58587 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58588 if test "x$ac_cv_func_expf" = x""yes; then :
58589 cat >>confdefs.h <<_ACEOF
58590 #define HAVE_EXPF 1
58598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58599 $as_echo_n "checking for _expf declaration... " >&6; }
58600 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58601 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58602 $as_echo_n "(cached) " >&6
58607 ac_cpp='$CXXCPP $CPPFLAGS'
58608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58613 /* end confdefs.h. */
58615 #ifdef HAVE_IEEEFP_H
58616 #include <ieeefp.h>
58627 if ac_fn_cxx_try_compile "$LINENO"; then :
58628 glibcxx_cv_func__expf_use=yes
58630 glibcxx_cv_func__expf_use=no
58632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58634 ac_cpp='$CPP $CPPFLAGS'
58635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58644 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58646 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58647 for ac_func in _expf
58649 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58650 if test "x$ac_cv_func__expf" = x""yes; then :
58651 cat >>confdefs.h <<_ACEOF
58652 #define HAVE__EXPF 1
58665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58666 $as_echo_n "checking for isnanf declaration... " >&6; }
58667 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58668 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58669 $as_echo_n "(cached) " >&6
58674 ac_cpp='$CXXCPP $CPPFLAGS'
58675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58680 /* end confdefs.h. */
58682 #ifdef HAVE_IEEEFP_H
58683 #include <ieeefp.h>
58694 if ac_fn_cxx_try_compile "$LINENO"; then :
58695 glibcxx_cv_func_isnanf_use=yes
58697 glibcxx_cv_func_isnanf_use=no
58699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58701 ac_cpp='$CPP $CPPFLAGS'
58702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58711 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58713 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58714 for ac_func in isnanf
58716 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58717 if test "x$ac_cv_func_isnanf" = x""yes; then :
58718 cat >>confdefs.h <<_ACEOF
58719 #define HAVE_ISNANF 1
58727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58728 $as_echo_n "checking for _isnanf declaration... " >&6; }
58729 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58730 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58731 $as_echo_n "(cached) " >&6
58736 ac_cpp='$CXXCPP $CPPFLAGS'
58737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58742 /* end confdefs.h. */
58744 #ifdef HAVE_IEEEFP_H
58745 #include <ieeefp.h>
58756 if ac_fn_cxx_try_compile "$LINENO"; then :
58757 glibcxx_cv_func__isnanf_use=yes
58759 glibcxx_cv_func__isnanf_use=no
58761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58763 ac_cpp='$CPP $CPPFLAGS'
58764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58773 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58775 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58776 for ac_func in _isnanf
58778 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58779 if test "x$ac_cv_func__isnanf" = x""yes; then :
58780 cat >>confdefs.h <<_ACEOF
58781 #define HAVE__ISNANF 1
58794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58795 $as_echo_n "checking for isinff declaration... " >&6; }
58796 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58797 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58798 $as_echo_n "(cached) " >&6
58803 ac_cpp='$CXXCPP $CPPFLAGS'
58804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58809 /* end confdefs.h. */
58811 #ifdef HAVE_IEEEFP_H
58812 #include <ieeefp.h>
58823 if ac_fn_cxx_try_compile "$LINENO"; then :
58824 glibcxx_cv_func_isinff_use=yes
58826 glibcxx_cv_func_isinff_use=no
58828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58830 ac_cpp='$CPP $CPPFLAGS'
58831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58840 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58842 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58843 for ac_func in isinff
58845 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58846 if test "x$ac_cv_func_isinff" = x""yes; then :
58847 cat >>confdefs.h <<_ACEOF
58848 #define HAVE_ISINFF 1
58856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58857 $as_echo_n "checking for _isinff declaration... " >&6; }
58858 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58859 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58860 $as_echo_n "(cached) " >&6
58865 ac_cpp='$CXXCPP $CPPFLAGS'
58866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58871 /* end confdefs.h. */
58873 #ifdef HAVE_IEEEFP_H
58874 #include <ieeefp.h>
58885 if ac_fn_cxx_try_compile "$LINENO"; then :
58886 glibcxx_cv_func__isinff_use=yes
58888 glibcxx_cv_func__isinff_use=no
58890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58892 ac_cpp='$CPP $CPPFLAGS'
58893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58902 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58904 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58905 for ac_func in _isinff
58907 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
58908 if test "x$ac_cv_func__isinff" = x""yes; then :
58909 cat >>confdefs.h <<_ACEOF
58910 #define HAVE__ISINFF 1
58923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
58924 $as_echo_n "checking for atan2f declaration... " >&6; }
58925 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58926 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
58927 $as_echo_n "(cached) " >&6
58932 ac_cpp='$CXXCPP $CPPFLAGS'
58933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58938 /* end confdefs.h. */
58948 if ac_fn_cxx_try_compile "$LINENO"; then :
58949 glibcxx_cv_func_atan2f_use=yes
58951 glibcxx_cv_func_atan2f_use=no
58953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58955 ac_cpp='$CPP $CPPFLAGS'
58956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
58965 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
58967 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58968 for ac_func in atan2f
58970 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58971 if test "x$ac_cv_func_atan2f" = x""yes; then :
58972 cat >>confdefs.h <<_ACEOF
58973 #define HAVE_ATAN2F 1
58981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58982 $as_echo_n "checking for _atan2f declaration... " >&6; }
58983 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58984 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
58985 $as_echo_n "(cached) " >&6
58990 ac_cpp='$CXXCPP $CPPFLAGS'
58991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58996 /* end confdefs.h. */
59006 if ac_fn_cxx_try_compile "$LINENO"; then :
59007 glibcxx_cv_func__atan2f_use=yes
59009 glibcxx_cv_func__atan2f_use=no
59011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59013 ac_cpp='$CPP $CPPFLAGS'
59014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59023 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59025 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59026 for ac_func in _atan2f
59028 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59029 if test "x$ac_cv_func__atan2f" = x""yes; then :
59030 cat >>confdefs.h <<_ACEOF
59031 #define HAVE__ATAN2F 1
59044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59045 $as_echo_n "checking for fabsf declaration... " >&6; }
59046 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59047 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59048 $as_echo_n "(cached) " >&6
59053 ac_cpp='$CXXCPP $CPPFLAGS'
59054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59059 /* end confdefs.h. */
59061 #ifdef HAVE_IEEEFP_H
59062 #include <ieeefp.h>
59073 if ac_fn_cxx_try_compile "$LINENO"; then :
59074 glibcxx_cv_func_fabsf_use=yes
59076 glibcxx_cv_func_fabsf_use=no
59078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59080 ac_cpp='$CPP $CPPFLAGS'
59081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59090 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59092 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59093 for ac_func in fabsf
59095 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59096 if test "x$ac_cv_func_fabsf" = x""yes; then :
59097 cat >>confdefs.h <<_ACEOF
59098 #define HAVE_FABSF 1
59106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59107 $as_echo_n "checking for _fabsf declaration... " >&6; }
59108 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59109 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59110 $as_echo_n "(cached) " >&6
59115 ac_cpp='$CXXCPP $CPPFLAGS'
59116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59121 /* end confdefs.h. */
59123 #ifdef HAVE_IEEEFP_H
59124 #include <ieeefp.h>
59135 if ac_fn_cxx_try_compile "$LINENO"; then :
59136 glibcxx_cv_func__fabsf_use=yes
59138 glibcxx_cv_func__fabsf_use=no
59140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142 ac_cpp='$CPP $CPPFLAGS'
59143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59152 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59154 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59155 for ac_func in _fabsf
59157 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59158 if test "x$ac_cv_func__fabsf" = x""yes; then :
59159 cat >>confdefs.h <<_ACEOF
59160 #define HAVE__FABSF 1
59173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59174 $as_echo_n "checking for fmodf declaration... " >&6; }
59175 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59176 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59177 $as_echo_n "(cached) " >&6
59182 ac_cpp='$CXXCPP $CPPFLAGS'
59183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59188 /* end confdefs.h. */
59198 if ac_fn_cxx_try_compile "$LINENO"; then :
59199 glibcxx_cv_func_fmodf_use=yes
59201 glibcxx_cv_func_fmodf_use=no
59203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59205 ac_cpp='$CPP $CPPFLAGS'
59206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59215 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59217 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59218 for ac_func in fmodf
59220 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59221 if test "x$ac_cv_func_fmodf" = x""yes; then :
59222 cat >>confdefs.h <<_ACEOF
59223 #define HAVE_FMODF 1
59231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59232 $as_echo_n "checking for _fmodf declaration... " >&6; }
59233 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59234 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59235 $as_echo_n "(cached) " >&6
59240 ac_cpp='$CXXCPP $CPPFLAGS'
59241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59246 /* end confdefs.h. */
59256 if ac_fn_cxx_try_compile "$LINENO"; then :
59257 glibcxx_cv_func__fmodf_use=yes
59259 glibcxx_cv_func__fmodf_use=no
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59273 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59275 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59276 for ac_func in _fmodf
59278 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59279 if test "x$ac_cv_func__fmodf" = x""yes; then :
59280 cat >>confdefs.h <<_ACEOF
59281 #define HAVE__FMODF 1
59294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59295 $as_echo_n "checking for frexpf declaration... " >&6; }
59296 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59297 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59298 $as_echo_n "(cached) " >&6
59303 ac_cpp='$CXXCPP $CPPFLAGS'
59304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59309 /* end confdefs.h. */
59319 if ac_fn_cxx_try_compile "$LINENO"; then :
59320 glibcxx_cv_func_frexpf_use=yes
59322 glibcxx_cv_func_frexpf_use=no
59324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59326 ac_cpp='$CPP $CPPFLAGS'
59327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59336 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59338 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59339 for ac_func in frexpf
59341 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59342 if test "x$ac_cv_func_frexpf" = x""yes; then :
59343 cat >>confdefs.h <<_ACEOF
59344 #define HAVE_FREXPF 1
59352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59353 $as_echo_n "checking for _frexpf declaration... " >&6; }
59354 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59355 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59356 $as_echo_n "(cached) " >&6
59361 ac_cpp='$CXXCPP $CPPFLAGS'
59362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59367 /* end confdefs.h. */
59377 if ac_fn_cxx_try_compile "$LINENO"; then :
59378 glibcxx_cv_func__frexpf_use=yes
59380 glibcxx_cv_func__frexpf_use=no
59382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59384 ac_cpp='$CPP $CPPFLAGS'
59385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59394 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59396 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59397 for ac_func in _frexpf
59399 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59400 if test "x$ac_cv_func__frexpf" = x""yes; then :
59401 cat >>confdefs.h <<_ACEOF
59402 #define HAVE__FREXPF 1
59415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59416 $as_echo_n "checking for hypotf declaration... " >&6; }
59417 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59418 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59419 $as_echo_n "(cached) " >&6
59424 ac_cpp='$CXXCPP $CPPFLAGS'
59425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59430 /* end confdefs.h. */
59440 if ac_fn_cxx_try_compile "$LINENO"; then :
59441 glibcxx_cv_func_hypotf_use=yes
59443 glibcxx_cv_func_hypotf_use=no
59445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59447 ac_cpp='$CPP $CPPFLAGS'
59448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59457 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59459 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59460 for ac_func in hypotf
59462 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59463 if test "x$ac_cv_func_hypotf" = x""yes; then :
59464 cat >>confdefs.h <<_ACEOF
59465 #define HAVE_HYPOTF 1
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59474 $as_echo_n "checking for _hypotf declaration... " >&6; }
59475 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59476 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59477 $as_echo_n "(cached) " >&6
59482 ac_cpp='$CXXCPP $CPPFLAGS'
59483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59488 /* end confdefs.h. */
59498 if ac_fn_cxx_try_compile "$LINENO"; then :
59499 glibcxx_cv_func__hypotf_use=yes
59501 glibcxx_cv_func__hypotf_use=no
59503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59505 ac_cpp='$CPP $CPPFLAGS'
59506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59515 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59517 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59518 for ac_func in _hypotf
59520 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59521 if test "x$ac_cv_func__hypotf" = x""yes; then :
59522 cat >>confdefs.h <<_ACEOF
59523 #define HAVE__HYPOTF 1
59536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59537 $as_echo_n "checking for ldexpf declaration... " >&6; }
59538 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59539 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59540 $as_echo_n "(cached) " >&6
59545 ac_cpp='$CXXCPP $CPPFLAGS'
59546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59551 /* end confdefs.h. */
59561 if ac_fn_cxx_try_compile "$LINENO"; then :
59562 glibcxx_cv_func_ldexpf_use=yes
59564 glibcxx_cv_func_ldexpf_use=no
59566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59568 ac_cpp='$CPP $CPPFLAGS'
59569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59578 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59580 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59581 for ac_func in ldexpf
59583 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59584 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59585 cat >>confdefs.h <<_ACEOF
59586 #define HAVE_LDEXPF 1
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59595 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59596 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59597 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59598 $as_echo_n "(cached) " >&6
59603 ac_cpp='$CXXCPP $CPPFLAGS'
59604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59609 /* end confdefs.h. */
59619 if ac_fn_cxx_try_compile "$LINENO"; then :
59620 glibcxx_cv_func__ldexpf_use=yes
59622 glibcxx_cv_func__ldexpf_use=no
59624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59626 ac_cpp='$CPP $CPPFLAGS'
59627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59636 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59638 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59639 for ac_func in _ldexpf
59641 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59642 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59643 cat >>confdefs.h <<_ACEOF
59644 #define HAVE__LDEXPF 1
59657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59658 $as_echo_n "checking for logf declaration... " >&6; }
59659 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59660 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59661 $as_echo_n "(cached) " >&6
59666 ac_cpp='$CXXCPP $CPPFLAGS'
59667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59672 /* end confdefs.h. */
59674 #ifdef HAVE_IEEEFP_H
59675 #include <ieeefp.h>
59686 if ac_fn_cxx_try_compile "$LINENO"; then :
59687 glibcxx_cv_func_logf_use=yes
59689 glibcxx_cv_func_logf_use=no
59691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59693 ac_cpp='$CPP $CPPFLAGS'
59694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59703 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59705 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59706 for ac_func in logf
59708 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59709 if test "x$ac_cv_func_logf" = x""yes; then :
59710 cat >>confdefs.h <<_ACEOF
59711 #define HAVE_LOGF 1
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59720 $as_echo_n "checking for _logf declaration... " >&6; }
59721 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59722 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59723 $as_echo_n "(cached) " >&6
59728 ac_cpp='$CXXCPP $CPPFLAGS'
59729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59734 /* end confdefs.h. */
59736 #ifdef HAVE_IEEEFP_H
59737 #include <ieeefp.h>
59748 if ac_fn_cxx_try_compile "$LINENO"; then :
59749 glibcxx_cv_func__logf_use=yes
59751 glibcxx_cv_func__logf_use=no
59753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59755 ac_cpp='$CPP $CPPFLAGS'
59756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59765 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59767 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59768 for ac_func in _logf
59770 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59771 if test "x$ac_cv_func__logf" = x""yes; then :
59772 cat >>confdefs.h <<_ACEOF
59773 #define HAVE__LOGF 1
59786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59787 $as_echo_n "checking for log10f declaration... " >&6; }
59788 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59789 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59790 $as_echo_n "(cached) " >&6
59795 ac_cpp='$CXXCPP $CPPFLAGS'
59796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59801 /* end confdefs.h. */
59803 #ifdef HAVE_IEEEFP_H
59804 #include <ieeefp.h>
59815 if ac_fn_cxx_try_compile "$LINENO"; then :
59816 glibcxx_cv_func_log10f_use=yes
59818 glibcxx_cv_func_log10f_use=no
59820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59822 ac_cpp='$CPP $CPPFLAGS'
59823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
59832 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59834 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59835 for ac_func in log10f
59837 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59838 if test "x$ac_cv_func_log10f" = x""yes; then :
59839 cat >>confdefs.h <<_ACEOF
59840 #define HAVE_LOG10F 1
59848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59849 $as_echo_n "checking for _log10f declaration... " >&6; }
59850 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59851 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
59852 $as_echo_n "(cached) " >&6
59857 ac_cpp='$CXXCPP $CPPFLAGS'
59858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59863 /* end confdefs.h. */
59865 #ifdef HAVE_IEEEFP_H
59866 #include <ieeefp.h>
59877 if ac_fn_cxx_try_compile "$LINENO"; then :
59878 glibcxx_cv_func__log10f_use=yes
59880 glibcxx_cv_func__log10f_use=no
59882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59884 ac_cpp='$CPP $CPPFLAGS'
59885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59894 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59896 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59897 for ac_func in _log10f
59899 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59900 if test "x$ac_cv_func__log10f" = x""yes; then :
59901 cat >>confdefs.h <<_ACEOF
59902 #define HAVE__LOG10F 1
59915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
59916 $as_echo_n "checking for modff declaration... " >&6; }
59917 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59918 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
59919 $as_echo_n "(cached) " >&6
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h. */
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941 glibcxx_cv_func_modff_use=yes
59943 glibcxx_cv_func_modff_use=no
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
59957 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
59959 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59960 for ac_func in modff
59962 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
59963 if test "x$ac_cv_func_modff" = x""yes; then :
59964 cat >>confdefs.h <<_ACEOF
59965 #define HAVE_MODFF 1
59973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59974 $as_echo_n "checking for _modff declaration... " >&6; }
59975 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59976 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
59977 $as_echo_n "(cached) " >&6
59982 ac_cpp='$CXXCPP $CPPFLAGS'
59983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59988 /* end confdefs.h. */
59998 if ac_fn_cxx_try_compile "$LINENO"; then :
59999 glibcxx_cv_func__modff_use=yes
60001 glibcxx_cv_func__modff_use=no
60003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60005 ac_cpp='$CPP $CPPFLAGS'
60006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60015 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60017 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60018 for ac_func in _modff
60020 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60021 if test "x$ac_cv_func__modff" = x""yes; then :
60022 cat >>confdefs.h <<_ACEOF
60023 #define HAVE__MODFF 1
60036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60037 $as_echo_n "checking for modf declaration... " >&6; }
60038 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60039 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60040 $as_echo_n "(cached) " >&6
60045 ac_cpp='$CXXCPP $CPPFLAGS'
60046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60051 /* end confdefs.h. */
60061 if ac_fn_cxx_try_compile "$LINENO"; then :
60062 glibcxx_cv_func_modf_use=yes
60064 glibcxx_cv_func_modf_use=no
60066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60068 ac_cpp='$CPP $CPPFLAGS'
60069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60078 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60080 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60081 for ac_func in modf
60083 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60084 if test "x$ac_cv_func_modf" = x""yes; then :
60085 cat >>confdefs.h <<_ACEOF
60086 #define HAVE_MODF 1
60094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60095 $as_echo_n "checking for _modf declaration... " >&6; }
60096 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60097 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60098 $as_echo_n "(cached) " >&6
60103 ac_cpp='$CXXCPP $CPPFLAGS'
60104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60109 /* end confdefs.h. */
60119 if ac_fn_cxx_try_compile "$LINENO"; then :
60120 glibcxx_cv_func__modf_use=yes
60122 glibcxx_cv_func__modf_use=no
60124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60126 ac_cpp='$CPP $CPPFLAGS'
60127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60136 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60138 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60139 for ac_func in _modf
60141 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60142 if test "x$ac_cv_func__modf" = x""yes; then :
60143 cat >>confdefs.h <<_ACEOF
60144 #define HAVE__MODF 1
60157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60158 $as_echo_n "checking for powf declaration... " >&6; }
60159 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60160 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60161 $as_echo_n "(cached) " >&6
60166 ac_cpp='$CXXCPP $CPPFLAGS'
60167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60172 /* end confdefs.h. */
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183 glibcxx_cv_func_powf_use=yes
60185 glibcxx_cv_func_powf_use=no
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60199 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60201 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60202 for ac_func in powf
60204 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60205 if test "x$ac_cv_func_powf" = x""yes; then :
60206 cat >>confdefs.h <<_ACEOF
60207 #define HAVE_POWF 1
60215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60216 $as_echo_n "checking for _powf declaration... " >&6; }
60217 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60218 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60219 $as_echo_n "(cached) " >&6
60224 ac_cpp='$CXXCPP $CPPFLAGS'
60225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60230 /* end confdefs.h. */
60240 if ac_fn_cxx_try_compile "$LINENO"; then :
60241 glibcxx_cv_func__powf_use=yes
60243 glibcxx_cv_func__powf_use=no
60245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60247 ac_cpp='$CPP $CPPFLAGS'
60248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60257 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60259 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60260 for ac_func in _powf
60262 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60263 if test "x$ac_cv_func__powf" = x""yes; then :
60264 cat >>confdefs.h <<_ACEOF
60265 #define HAVE__POWF 1
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60279 $as_echo_n "checking for sqrtf declaration... " >&6; }
60280 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60281 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60282 $as_echo_n "(cached) " >&6
60287 ac_cpp='$CXXCPP $CPPFLAGS'
60288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h. */
60295 #ifdef HAVE_IEEEFP_H
60296 #include <ieeefp.h>
60307 if ac_fn_cxx_try_compile "$LINENO"; then :
60308 glibcxx_cv_func_sqrtf_use=yes
60310 glibcxx_cv_func_sqrtf_use=no
60312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60314 ac_cpp='$CPP $CPPFLAGS'
60315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60324 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60326 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60327 for ac_func in sqrtf
60329 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60330 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60331 cat >>confdefs.h <<_ACEOF
60332 #define HAVE_SQRTF 1
60340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60341 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60342 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60343 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60344 $as_echo_n "(cached) " >&6
60349 ac_cpp='$CXXCPP $CPPFLAGS'
60350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60355 /* end confdefs.h. */
60357 #ifdef HAVE_IEEEFP_H
60358 #include <ieeefp.h>
60369 if ac_fn_cxx_try_compile "$LINENO"; then :
60370 glibcxx_cv_func__sqrtf_use=yes
60372 glibcxx_cv_func__sqrtf_use=no
60374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60376 ac_cpp='$CPP $CPPFLAGS'
60377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60386 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60388 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60389 for ac_func in _sqrtf
60391 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60392 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60393 cat >>confdefs.h <<_ACEOF
60394 #define HAVE__SQRTF 1
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60408 $as_echo_n "checking for sincosf declaration... " >&6; }
60409 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60410 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60411 $as_echo_n "(cached) " >&6
60416 ac_cpp='$CXXCPP $CPPFLAGS'
60417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60422 /* end confdefs.h. */
60432 if ac_fn_cxx_try_compile "$LINENO"; then :
60433 glibcxx_cv_func_sincosf_use=yes
60435 glibcxx_cv_func_sincosf_use=no
60437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60439 ac_cpp='$CPP $CPPFLAGS'
60440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60449 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60451 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60452 for ac_func in sincosf
60454 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60455 if test "x$ac_cv_func_sincosf" = x""yes; then :
60456 cat >>confdefs.h <<_ACEOF
60457 #define HAVE_SINCOSF 1
60465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60466 $as_echo_n "checking for _sincosf declaration... " >&6; }
60467 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60468 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60469 $as_echo_n "(cached) " >&6
60474 ac_cpp='$CXXCPP $CPPFLAGS'
60475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60480 /* end confdefs.h. */
60490 if ac_fn_cxx_try_compile "$LINENO"; then :
60491 glibcxx_cv_func__sincosf_use=yes
60493 glibcxx_cv_func__sincosf_use=no
60495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60497 ac_cpp='$CPP $CPPFLAGS'
60498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60507 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60509 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60510 for ac_func in _sincosf
60512 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60513 if test "x$ac_cv_func__sincosf" = x""yes; then :
60514 cat >>confdefs.h <<_ACEOF
60515 #define HAVE__SINCOSF 1
60528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60529 $as_echo_n "checking for finitef declaration... " >&6; }
60530 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60531 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60532 $as_echo_n "(cached) " >&6
60537 ac_cpp='$CXXCPP $CPPFLAGS'
60538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60543 /* end confdefs.h. */
60545 #ifdef HAVE_IEEEFP_H
60546 #include <ieeefp.h>
60557 if ac_fn_cxx_try_compile "$LINENO"; then :
60558 glibcxx_cv_func_finitef_use=yes
60560 glibcxx_cv_func_finitef_use=no
60562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60564 ac_cpp='$CPP $CPPFLAGS'
60565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60574 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60576 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60577 for ac_func in finitef
60579 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60580 if test "x$ac_cv_func_finitef" = x""yes; then :
60581 cat >>confdefs.h <<_ACEOF
60582 #define HAVE_FINITEF 1
60590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60591 $as_echo_n "checking for _finitef declaration... " >&6; }
60592 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60593 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60594 $as_echo_n "(cached) " >&6
60599 ac_cpp='$CXXCPP $CPPFLAGS'
60600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60605 /* end confdefs.h. */
60607 #ifdef HAVE_IEEEFP_H
60608 #include <ieeefp.h>
60619 if ac_fn_cxx_try_compile "$LINENO"; then :
60620 glibcxx_cv_func__finitef_use=yes
60622 glibcxx_cv_func__finitef_use=no
60624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60626 ac_cpp='$CPP $CPPFLAGS'
60627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60636 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60638 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60639 for ac_func in _finitef
60641 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60642 if test "x$ac_cv_func__finitef" = x""yes; then :
60643 cat >>confdefs.h <<_ACEOF
60644 #define HAVE__FINITEF 1
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60658 $as_echo_n "checking for long double trig functions... " >&6; }
60659 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60660 $as_echo_n "(cached) " >&6
60665 ac_cpp='$CXXCPP $CPPFLAGS'
60666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60671 /* end confdefs.h. */
60676 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60681 if ac_fn_cxx_try_compile "$LINENO"; then :
60682 glibcxx_cv_func_long_double_trig_use=yes
60684 glibcxx_cv_func_long_double_trig_use=no
60686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60688 ac_cpp='$CPP $CPPFLAGS'
60689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60696 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60697 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60698 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60700 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60701 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60702 eval as_val=\$$as_ac_var
60703 if test "x$as_val" = x""yes; then :
60704 cat >>confdefs.h <<_ACEOF
60705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60713 $as_echo_n "checking for _long double trig functions... " >&6; }
60714 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60715 $as_echo_n "(cached) " >&6
60720 ac_cpp='$CXXCPP $CPPFLAGS'
60721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60726 /* end confdefs.h. */
60731 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60736 if ac_fn_cxx_try_compile "$LINENO"; then :
60737 glibcxx_cv_func__long_double_trig_use=yes
60739 glibcxx_cv_func__long_double_trig_use=no
60741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60743 ac_cpp='$CPP $CPPFLAGS'
60744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60751 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60752 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60753 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60757 eval as_val=\$$as_ac_var
60758 if test "x$as_val" = x""yes; then :
60759 cat >>confdefs.h <<_ACEOF
60760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60774 $as_echo_n "checking for long double round functions... " >&6; }
60775 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60776 $as_echo_n "(cached) " >&6
60781 ac_cpp='$CXXCPP $CPPFLAGS'
60782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60787 /* end confdefs.h. */
60792 ceill (0); floorl (0);
60797 if ac_fn_cxx_try_compile "$LINENO"; then :
60798 glibcxx_cv_func_long_double_round_use=yes
60800 glibcxx_cv_func_long_double_round_use=no
60802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60804 ac_cpp='$CPP $CPPFLAGS'
60805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60812 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60813 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60814 for ac_func in ceill floorl
60816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60818 eval as_val=\$$as_ac_var
60819 if test "x$as_val" = x""yes; then :
60820 cat >>confdefs.h <<_ACEOF
60821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60829 $as_echo_n "checking for _long double round functions... " >&6; }
60830 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60831 $as_echo_n "(cached) " >&6
60836 ac_cpp='$CXXCPP $CPPFLAGS'
60837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60842 /* end confdefs.h. */
60847 _ceill (0); _floorl (0);
60852 if ac_fn_cxx_try_compile "$LINENO"; then :
60853 glibcxx_cv_func__long_double_round_use=yes
60855 glibcxx_cv_func__long_double_round_use=no
60857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60859 ac_cpp='$CPP $CPPFLAGS'
60860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60867 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60868 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60869 for ac_func in _ceill _floorl
60871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60873 eval as_val=\$$as_ac_var
60874 if test "x$as_val" = x""yes; then :
60875 cat >>confdefs.h <<_ACEOF
60876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60891 $as_echo_n "checking for isnanl declaration... " >&6; }
60892 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60893 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60894 $as_echo_n "(cached) " >&6
60899 ac_cpp='$CXXCPP $CPPFLAGS'
60900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60905 /* end confdefs.h. */
60907 #ifdef HAVE_IEEEFP_H
60908 #include <ieeefp.h>
60919 if ac_fn_cxx_try_compile "$LINENO"; then :
60920 glibcxx_cv_func_isnanl_use=yes
60922 glibcxx_cv_func_isnanl_use=no
60924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60926 ac_cpp='$CPP $CPPFLAGS'
60927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
60936 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
60938 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
60939 for ac_func in isnanl
60941 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
60942 if test "x$ac_cv_func_isnanl" = x""yes; then :
60943 cat >>confdefs.h <<_ACEOF
60944 #define HAVE_ISNANL 1
60952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
60953 $as_echo_n "checking for _isnanl declaration... " >&6; }
60954 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
60955 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
60956 $as_echo_n "(cached) " >&6
60961 ac_cpp='$CXXCPP $CPPFLAGS'
60962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60967 /* end confdefs.h. */
60969 #ifdef HAVE_IEEEFP_H
60970 #include <ieeefp.h>
60981 if ac_fn_cxx_try_compile "$LINENO"; then :
60982 glibcxx_cv_func__isnanl_use=yes
60984 glibcxx_cv_func__isnanl_use=no
60986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60988 ac_cpp='$CPP $CPPFLAGS'
60989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60998 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61000 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61001 for ac_func in _isnanl
61003 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61004 if test "x$ac_cv_func__isnanl" = x""yes; then :
61005 cat >>confdefs.h <<_ACEOF
61006 #define HAVE__ISNANL 1
61019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61020 $as_echo_n "checking for isinfl declaration... " >&6; }
61021 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61022 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61023 $as_echo_n "(cached) " >&6
61028 ac_cpp='$CXXCPP $CPPFLAGS'
61029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61034 /* end confdefs.h. */
61036 #ifdef HAVE_IEEEFP_H
61037 #include <ieeefp.h>
61048 if ac_fn_cxx_try_compile "$LINENO"; then :
61049 glibcxx_cv_func_isinfl_use=yes
61051 glibcxx_cv_func_isinfl_use=no
61053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61055 ac_cpp='$CPP $CPPFLAGS'
61056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61065 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61067 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61068 for ac_func in isinfl
61070 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61071 if test "x$ac_cv_func_isinfl" = x""yes; then :
61072 cat >>confdefs.h <<_ACEOF
61073 #define HAVE_ISINFL 1
61081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61082 $as_echo_n "checking for _isinfl declaration... " >&6; }
61083 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61084 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61085 $as_echo_n "(cached) " >&6
61090 ac_cpp='$CXXCPP $CPPFLAGS'
61091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61096 /* end confdefs.h. */
61098 #ifdef HAVE_IEEEFP_H
61099 #include <ieeefp.h>
61110 if ac_fn_cxx_try_compile "$LINENO"; then :
61111 glibcxx_cv_func__isinfl_use=yes
61113 glibcxx_cv_func__isinfl_use=no
61115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61117 ac_cpp='$CPP $CPPFLAGS'
61118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61127 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61129 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61130 for ac_func in _isinfl
61132 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61133 if test "x$ac_cv_func__isinfl" = x""yes; then :
61134 cat >>confdefs.h <<_ACEOF
61135 #define HAVE__ISINFL 1
61148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61149 $as_echo_n "checking for atan2l declaration... " >&6; }
61150 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61151 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61152 $as_echo_n "(cached) " >&6
61157 ac_cpp='$CXXCPP $CPPFLAGS'
61158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61163 /* end confdefs.h. */
61173 if ac_fn_cxx_try_compile "$LINENO"; then :
61174 glibcxx_cv_func_atan2l_use=yes
61176 glibcxx_cv_func_atan2l_use=no
61178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61180 ac_cpp='$CPP $CPPFLAGS'
61181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61190 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61192 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61193 for ac_func in atan2l
61195 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61196 if test "x$ac_cv_func_atan2l" = x""yes; then :
61197 cat >>confdefs.h <<_ACEOF
61198 #define HAVE_ATAN2L 1
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61207 $as_echo_n "checking for _atan2l declaration... " >&6; }
61208 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61209 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61210 $as_echo_n "(cached) " >&6
61215 ac_cpp='$CXXCPP $CPPFLAGS'
61216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61221 /* end confdefs.h. */
61231 if ac_fn_cxx_try_compile "$LINENO"; then :
61232 glibcxx_cv_func__atan2l_use=yes
61234 glibcxx_cv_func__atan2l_use=no
61236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61238 ac_cpp='$CPP $CPPFLAGS'
61239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61248 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61250 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61251 for ac_func in _atan2l
61253 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61254 if test "x$ac_cv_func__atan2l" = x""yes; then :
61255 cat >>confdefs.h <<_ACEOF
61256 #define HAVE__ATAN2L 1
61269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61270 $as_echo_n "checking for expl declaration... " >&6; }
61271 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61272 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61273 $as_echo_n "(cached) " >&6
61278 ac_cpp='$CXXCPP $CPPFLAGS'
61279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61284 /* end confdefs.h. */
61286 #ifdef HAVE_IEEEFP_H
61287 #include <ieeefp.h>
61298 if ac_fn_cxx_try_compile "$LINENO"; then :
61299 glibcxx_cv_func_expl_use=yes
61301 glibcxx_cv_func_expl_use=no
61303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61305 ac_cpp='$CPP $CPPFLAGS'
61306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61315 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61317 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61318 for ac_func in expl
61320 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61321 if test "x$ac_cv_func_expl" = x""yes; then :
61322 cat >>confdefs.h <<_ACEOF
61323 #define HAVE_EXPL 1
61331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61332 $as_echo_n "checking for _expl declaration... " >&6; }
61333 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61334 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61335 $as_echo_n "(cached) " >&6
61340 ac_cpp='$CXXCPP $CPPFLAGS'
61341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61346 /* end confdefs.h. */
61348 #ifdef HAVE_IEEEFP_H
61349 #include <ieeefp.h>
61360 if ac_fn_cxx_try_compile "$LINENO"; then :
61361 glibcxx_cv_func__expl_use=yes
61363 glibcxx_cv_func__expl_use=no
61365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61367 ac_cpp='$CPP $CPPFLAGS'
61368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61377 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61379 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61380 for ac_func in _expl
61382 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61383 if test "x$ac_cv_func__expl" = x""yes; then :
61384 cat >>confdefs.h <<_ACEOF
61385 #define HAVE__EXPL 1
61398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61399 $as_echo_n "checking for fabsl declaration... " >&6; }
61400 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61401 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61402 $as_echo_n "(cached) " >&6
61407 ac_cpp='$CXXCPP $CPPFLAGS'
61408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61413 /* end confdefs.h. */
61415 #ifdef HAVE_IEEEFP_H
61416 #include <ieeefp.h>
61427 if ac_fn_cxx_try_compile "$LINENO"; then :
61428 glibcxx_cv_func_fabsl_use=yes
61430 glibcxx_cv_func_fabsl_use=no
61432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61434 ac_cpp='$CPP $CPPFLAGS'
61435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61444 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61446 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61447 for ac_func in fabsl
61449 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61450 if test "x$ac_cv_func_fabsl" = x""yes; then :
61451 cat >>confdefs.h <<_ACEOF
61452 #define HAVE_FABSL 1
61460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61461 $as_echo_n "checking for _fabsl declaration... " >&6; }
61462 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61463 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61464 $as_echo_n "(cached) " >&6
61469 ac_cpp='$CXXCPP $CPPFLAGS'
61470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61475 /* end confdefs.h. */
61477 #ifdef HAVE_IEEEFP_H
61478 #include <ieeefp.h>
61489 if ac_fn_cxx_try_compile "$LINENO"; then :
61490 glibcxx_cv_func__fabsl_use=yes
61492 glibcxx_cv_func__fabsl_use=no
61494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61496 ac_cpp='$CPP $CPPFLAGS'
61497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61506 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61508 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61509 for ac_func in _fabsl
61511 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61512 if test "x$ac_cv_func__fabsl" = x""yes; then :
61513 cat >>confdefs.h <<_ACEOF
61514 #define HAVE__FABSL 1
61527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61528 $as_echo_n "checking for fmodl declaration... " >&6; }
61529 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61530 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61531 $as_echo_n "(cached) " >&6
61536 ac_cpp='$CXXCPP $CPPFLAGS'
61537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61542 /* end confdefs.h. */
61552 if ac_fn_cxx_try_compile "$LINENO"; then :
61553 glibcxx_cv_func_fmodl_use=yes
61555 glibcxx_cv_func_fmodl_use=no
61557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61559 ac_cpp='$CPP $CPPFLAGS'
61560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61569 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61571 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61572 for ac_func in fmodl
61574 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61575 if test "x$ac_cv_func_fmodl" = x""yes; then :
61576 cat >>confdefs.h <<_ACEOF
61577 #define HAVE_FMODL 1
61585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61586 $as_echo_n "checking for _fmodl declaration... " >&6; }
61587 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61588 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61589 $as_echo_n "(cached) " >&6
61594 ac_cpp='$CXXCPP $CPPFLAGS'
61595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61600 /* end confdefs.h. */
61610 if ac_fn_cxx_try_compile "$LINENO"; then :
61611 glibcxx_cv_func__fmodl_use=yes
61613 glibcxx_cv_func__fmodl_use=no
61615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61617 ac_cpp='$CPP $CPPFLAGS'
61618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61627 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61629 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61630 for ac_func in _fmodl
61632 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61633 if test "x$ac_cv_func__fmodl" = x""yes; then :
61634 cat >>confdefs.h <<_ACEOF
61635 #define HAVE__FMODL 1
61648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61649 $as_echo_n "checking for frexpl declaration... " >&6; }
61650 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61651 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61652 $as_echo_n "(cached) " >&6
61657 ac_cpp='$CXXCPP $CPPFLAGS'
61658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61663 /* end confdefs.h. */
61673 if ac_fn_cxx_try_compile "$LINENO"; then :
61674 glibcxx_cv_func_frexpl_use=yes
61676 glibcxx_cv_func_frexpl_use=no
61678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61680 ac_cpp='$CPP $CPPFLAGS'
61681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61690 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61692 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61693 for ac_func in frexpl
61695 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61696 if test "x$ac_cv_func_frexpl" = x""yes; then :
61697 cat >>confdefs.h <<_ACEOF
61698 #define HAVE_FREXPL 1
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61707 $as_echo_n "checking for _frexpl declaration... " >&6; }
61708 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61709 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61710 $as_echo_n "(cached) " >&6
61715 ac_cpp='$CXXCPP $CPPFLAGS'
61716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61721 /* end confdefs.h. */
61731 if ac_fn_cxx_try_compile "$LINENO"; then :
61732 glibcxx_cv_func__frexpl_use=yes
61734 glibcxx_cv_func__frexpl_use=no
61736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61738 ac_cpp='$CPP $CPPFLAGS'
61739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61748 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61750 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61751 for ac_func in _frexpl
61753 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61754 if test "x$ac_cv_func__frexpl" = x""yes; then :
61755 cat >>confdefs.h <<_ACEOF
61756 #define HAVE__FREXPL 1
61769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61770 $as_echo_n "checking for hypotl declaration... " >&6; }
61771 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61772 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61773 $as_echo_n "(cached) " >&6
61778 ac_cpp='$CXXCPP $CPPFLAGS'
61779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61784 /* end confdefs.h. */
61794 if ac_fn_cxx_try_compile "$LINENO"; then :
61795 glibcxx_cv_func_hypotl_use=yes
61797 glibcxx_cv_func_hypotl_use=no
61799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61801 ac_cpp='$CPP $CPPFLAGS'
61802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61811 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61813 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61814 for ac_func in hypotl
61816 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61817 if test "x$ac_cv_func_hypotl" = x""yes; then :
61818 cat >>confdefs.h <<_ACEOF
61819 #define HAVE_HYPOTL 1
61827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61828 $as_echo_n "checking for _hypotl declaration... " >&6; }
61829 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61830 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61831 $as_echo_n "(cached) " >&6
61836 ac_cpp='$CXXCPP $CPPFLAGS'
61837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61842 /* end confdefs.h. */
61852 if ac_fn_cxx_try_compile "$LINENO"; then :
61853 glibcxx_cv_func__hypotl_use=yes
61855 glibcxx_cv_func__hypotl_use=no
61857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61859 ac_cpp='$CPP $CPPFLAGS'
61860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61869 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61871 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61872 for ac_func in _hypotl
61874 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61875 if test "x$ac_cv_func__hypotl" = x""yes; then :
61876 cat >>confdefs.h <<_ACEOF
61877 #define HAVE__HYPOTL 1
61890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61891 $as_echo_n "checking for ldexpl declaration... " >&6; }
61892 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61893 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61894 $as_echo_n "(cached) " >&6
61899 ac_cpp='$CXXCPP $CPPFLAGS'
61900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61905 /* end confdefs.h. */
61915 if ac_fn_cxx_try_compile "$LINENO"; then :
61916 glibcxx_cv_func_ldexpl_use=yes
61918 glibcxx_cv_func_ldexpl_use=no
61920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61922 ac_cpp='$CPP $CPPFLAGS'
61923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
61932 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
61934 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
61935 for ac_func in ldexpl
61937 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
61938 if test "x$ac_cv_func_ldexpl" = x""yes; then :
61939 cat >>confdefs.h <<_ACEOF
61940 #define HAVE_LDEXPL 1
61948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
61949 $as_echo_n "checking for _ldexpl declaration... " >&6; }
61950 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
61951 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
61952 $as_echo_n "(cached) " >&6
61957 ac_cpp='$CXXCPP $CPPFLAGS'
61958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61963 /* end confdefs.h. */
61973 if ac_fn_cxx_try_compile "$LINENO"; then :
61974 glibcxx_cv_func__ldexpl_use=yes
61976 glibcxx_cv_func__ldexpl_use=no
61978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61980 ac_cpp='$CPP $CPPFLAGS'
61981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61990 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61992 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61993 for ac_func in _ldexpl
61995 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61996 if test "x$ac_cv_func__ldexpl" = x""yes; then :
61997 cat >>confdefs.h <<_ACEOF
61998 #define HAVE__LDEXPL 1
62011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62012 $as_echo_n "checking for logl declaration... " >&6; }
62013 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62014 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62015 $as_echo_n "(cached) " >&6
62020 ac_cpp='$CXXCPP $CPPFLAGS'
62021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62026 /* end confdefs.h. */
62028 #ifdef HAVE_IEEEFP_H
62029 #include <ieeefp.h>
62040 if ac_fn_cxx_try_compile "$LINENO"; then :
62041 glibcxx_cv_func_logl_use=yes
62043 glibcxx_cv_func_logl_use=no
62045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62047 ac_cpp='$CPP $CPPFLAGS'
62048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62057 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62059 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62060 for ac_func in logl
62062 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62063 if test "x$ac_cv_func_logl" = x""yes; then :
62064 cat >>confdefs.h <<_ACEOF
62065 #define HAVE_LOGL 1
62073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62074 $as_echo_n "checking for _logl declaration... " >&6; }
62075 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62076 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62077 $as_echo_n "(cached) " >&6
62082 ac_cpp='$CXXCPP $CPPFLAGS'
62083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62088 /* end confdefs.h. */
62090 #ifdef HAVE_IEEEFP_H
62091 #include <ieeefp.h>
62102 if ac_fn_cxx_try_compile "$LINENO"; then :
62103 glibcxx_cv_func__logl_use=yes
62105 glibcxx_cv_func__logl_use=no
62107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62109 ac_cpp='$CPP $CPPFLAGS'
62110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62119 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62121 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62122 for ac_func in _logl
62124 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62125 if test "x$ac_cv_func__logl" = x""yes; then :
62126 cat >>confdefs.h <<_ACEOF
62127 #define HAVE__LOGL 1
62140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62141 $as_echo_n "checking for log10l declaration... " >&6; }
62142 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62143 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62144 $as_echo_n "(cached) " >&6
62149 ac_cpp='$CXXCPP $CPPFLAGS'
62150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62155 /* end confdefs.h. */
62157 #ifdef HAVE_IEEEFP_H
62158 #include <ieeefp.h>
62169 if ac_fn_cxx_try_compile "$LINENO"; then :
62170 glibcxx_cv_func_log10l_use=yes
62172 glibcxx_cv_func_log10l_use=no
62174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62176 ac_cpp='$CPP $CPPFLAGS'
62177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62186 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62188 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62189 for ac_func in log10l
62191 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62192 if test "x$ac_cv_func_log10l" = x""yes; then :
62193 cat >>confdefs.h <<_ACEOF
62194 #define HAVE_LOG10L 1
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62203 $as_echo_n "checking for _log10l declaration... " >&6; }
62204 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62205 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62206 $as_echo_n "(cached) " >&6
62211 ac_cpp='$CXXCPP $CPPFLAGS'
62212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62217 /* end confdefs.h. */
62219 #ifdef HAVE_IEEEFP_H
62220 #include <ieeefp.h>
62231 if ac_fn_cxx_try_compile "$LINENO"; then :
62232 glibcxx_cv_func__log10l_use=yes
62234 glibcxx_cv_func__log10l_use=no
62236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62238 ac_cpp='$CPP $CPPFLAGS'
62239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62248 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62250 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62251 for ac_func in _log10l
62253 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62254 if test "x$ac_cv_func__log10l" = x""yes; then :
62255 cat >>confdefs.h <<_ACEOF
62256 #define HAVE__LOG10L 1
62269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62270 $as_echo_n "checking for modfl declaration... " >&6; }
62271 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62272 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62273 $as_echo_n "(cached) " >&6
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h. */
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295 glibcxx_cv_func_modfl_use=yes
62297 glibcxx_cv_func_modfl_use=no
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62311 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62313 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62314 for ac_func in modfl
62316 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62317 if test "x$ac_cv_func_modfl" = x""yes; then :
62318 cat >>confdefs.h <<_ACEOF
62319 #define HAVE_MODFL 1
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62328 $as_echo_n "checking for _modfl declaration... " >&6; }
62329 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62330 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62331 $as_echo_n "(cached) " >&6
62336 ac_cpp='$CXXCPP $CPPFLAGS'
62337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62342 /* end confdefs.h. */
62352 if ac_fn_cxx_try_compile "$LINENO"; then :
62353 glibcxx_cv_func__modfl_use=yes
62355 glibcxx_cv_func__modfl_use=no
62357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62359 ac_cpp='$CPP $CPPFLAGS'
62360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62369 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62371 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62372 for ac_func in _modfl
62374 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62375 if test "x$ac_cv_func__modfl" = x""yes; then :
62376 cat >>confdefs.h <<_ACEOF
62377 #define HAVE__MODFL 1
62390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62391 $as_echo_n "checking for powl declaration... " >&6; }
62392 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62393 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62394 $as_echo_n "(cached) " >&6
62399 ac_cpp='$CXXCPP $CPPFLAGS'
62400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62405 /* end confdefs.h. */
62415 if ac_fn_cxx_try_compile "$LINENO"; then :
62416 glibcxx_cv_func_powl_use=yes
62418 glibcxx_cv_func_powl_use=no
62420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62422 ac_cpp='$CPP $CPPFLAGS'
62423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62432 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62434 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62435 for ac_func in powl
62437 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62438 if test "x$ac_cv_func_powl" = x""yes; then :
62439 cat >>confdefs.h <<_ACEOF
62440 #define HAVE_POWL 1
62448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62449 $as_echo_n "checking for _powl declaration... " >&6; }
62450 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62451 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62452 $as_echo_n "(cached) " >&6
62457 ac_cpp='$CXXCPP $CPPFLAGS'
62458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62463 /* end confdefs.h. */
62473 if ac_fn_cxx_try_compile "$LINENO"; then :
62474 glibcxx_cv_func__powl_use=yes
62476 glibcxx_cv_func__powl_use=no
62478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62480 ac_cpp='$CPP $CPPFLAGS'
62481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62490 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62492 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62493 for ac_func in _powl
62495 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62496 if test "x$ac_cv_func__powl" = x""yes; then :
62497 cat >>confdefs.h <<_ACEOF
62498 #define HAVE__POWL 1
62511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62512 $as_echo_n "checking for sqrtl declaration... " >&6; }
62513 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62514 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62515 $as_echo_n "(cached) " >&6
62520 ac_cpp='$CXXCPP $CPPFLAGS'
62521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62526 /* end confdefs.h. */
62528 #ifdef HAVE_IEEEFP_H
62529 #include <ieeefp.h>
62540 if ac_fn_cxx_try_compile "$LINENO"; then :
62541 glibcxx_cv_func_sqrtl_use=yes
62543 glibcxx_cv_func_sqrtl_use=no
62545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62547 ac_cpp='$CPP $CPPFLAGS'
62548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62557 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62559 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62560 for ac_func in sqrtl
62562 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62563 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62564 cat >>confdefs.h <<_ACEOF
62565 #define HAVE_SQRTL 1
62573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62574 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62575 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62576 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62577 $as_echo_n "(cached) " >&6
62582 ac_cpp='$CXXCPP $CPPFLAGS'
62583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62588 /* end confdefs.h. */
62590 #ifdef HAVE_IEEEFP_H
62591 #include <ieeefp.h>
62602 if ac_fn_cxx_try_compile "$LINENO"; then :
62603 glibcxx_cv_func__sqrtl_use=yes
62605 glibcxx_cv_func__sqrtl_use=no
62607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62609 ac_cpp='$CPP $CPPFLAGS'
62610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62619 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62621 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62622 for ac_func in _sqrtl
62624 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62625 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62626 cat >>confdefs.h <<_ACEOF
62627 #define HAVE__SQRTL 1
62640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62641 $as_echo_n "checking for sincosl declaration... " >&6; }
62642 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62643 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62644 $as_echo_n "(cached) " >&6
62649 ac_cpp='$CXXCPP $CPPFLAGS'
62650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62655 /* end confdefs.h. */
62665 if ac_fn_cxx_try_compile "$LINENO"; then :
62666 glibcxx_cv_func_sincosl_use=yes
62668 glibcxx_cv_func_sincosl_use=no
62670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62672 ac_cpp='$CPP $CPPFLAGS'
62673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62682 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62684 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62685 for ac_func in sincosl
62687 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62688 if test "x$ac_cv_func_sincosl" = x""yes; then :
62689 cat >>confdefs.h <<_ACEOF
62690 #define HAVE_SINCOSL 1
62698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62699 $as_echo_n "checking for _sincosl declaration... " >&6; }
62700 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62701 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62702 $as_echo_n "(cached) " >&6
62707 ac_cpp='$CXXCPP $CPPFLAGS'
62708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62713 /* end confdefs.h. */
62723 if ac_fn_cxx_try_compile "$LINENO"; then :
62724 glibcxx_cv_func__sincosl_use=yes
62726 glibcxx_cv_func__sincosl_use=no
62728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62730 ac_cpp='$CPP $CPPFLAGS'
62731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62740 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62742 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62743 for ac_func in _sincosl
62745 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62746 if test "x$ac_cv_func__sincosl" = x""yes; then :
62747 cat >>confdefs.h <<_ACEOF
62748 #define HAVE__SINCOSL 1
62761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62762 $as_echo_n "checking for finitel declaration... " >&6; }
62763 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62764 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62765 $as_echo_n "(cached) " >&6
62770 ac_cpp='$CXXCPP $CPPFLAGS'
62771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62776 /* end confdefs.h. */
62778 #ifdef HAVE_IEEEFP_H
62779 #include <ieeefp.h>
62790 if ac_fn_cxx_try_compile "$LINENO"; then :
62791 glibcxx_cv_func_finitel_use=yes
62793 glibcxx_cv_func_finitel_use=no
62795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62797 ac_cpp='$CPP $CPPFLAGS'
62798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62807 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62809 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62810 for ac_func in finitel
62812 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62813 if test "x$ac_cv_func_finitel" = x""yes; then :
62814 cat >>confdefs.h <<_ACEOF
62815 #define HAVE_FINITEL 1
62823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62824 $as_echo_n "checking for _finitel declaration... " >&6; }
62825 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62826 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
62827 $as_echo_n "(cached) " >&6
62832 ac_cpp='$CXXCPP $CPPFLAGS'
62833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62838 /* end confdefs.h. */
62840 #ifdef HAVE_IEEEFP_H
62841 #include <ieeefp.h>
62852 if ac_fn_cxx_try_compile "$LINENO"; then :
62853 glibcxx_cv_func__finitel_use=yes
62855 glibcxx_cv_func__finitel_use=no
62857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62859 ac_cpp='$CPP $CPPFLAGS'
62860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62869 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62871 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62872 for ac_func in _finitel
62874 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62875 if test "x$ac_cv_func__finitel" = x""yes; then :
62876 cat >>confdefs.h <<_ACEOF
62877 #define HAVE__FINITEL 1
62889 LIBS="$ac_save_LIBS"
62890 CXXFLAGS="$ac_save_CXXFLAGS"
62893 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62894 ac_save_CXXFLAGS="$CXXFLAGS"
62895 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62899 $as_echo_n "checking for strtold declaration... " >&6; }
62900 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62901 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62902 $as_echo_n "(cached) " >&6
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h. */
62914 #include <stdlib.h>
62923 if ac_fn_cxx_try_compile "$LINENO"; then :
62924 glibcxx_cv_func_strtold_use=yes
62926 glibcxx_cv_func_strtold_use=no
62928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62930 ac_cpp='$CPP $CPPFLAGS'
62931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62940 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62941 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62942 for ac_func in strtold
62944 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62945 if test "x$ac_cv_func_strtold" = x""yes; then :
62946 cat >>confdefs.h <<_ACEOF
62947 #define HAVE_STRTOLD 1
62958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62959 $as_echo_n "checking for strtof declaration... " >&6; }
62960 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62961 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
62962 $as_echo_n "(cached) " >&6
62967 ac_cpp='$CXXCPP $CPPFLAGS'
62968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62973 /* end confdefs.h. */
62974 #include <stdlib.h>
62983 if ac_fn_cxx_try_compile "$LINENO"; then :
62984 glibcxx_cv_func_strtof_use=yes
62986 glibcxx_cv_func_strtof_use=no
62988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62990 ac_cpp='$CPP $CPPFLAGS'
62991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63000 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63001 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63002 for ac_func in strtof
63004 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63005 if test "x$ac_cv_func_strtof" = x""yes; then :
63006 cat >>confdefs.h <<_ACEOF
63007 #define HAVE_STRTOF 1
63018 CXXFLAGS="$ac_save_CXXFLAGS"
63023 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63025 # If we're not using GNU ld, then there's no point in even trying these
63026 # tests. Check for that first. We should have already tested for gld
63027 # by now (in libtool), but require it now just to be safe...
63028 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63029 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63033 # The name set by libtool depends on the version of libtool. Shame on us
63034 # for depending on an impl detail, but c'est la vie. Older versions used
63035 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63036 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63037 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63038 # set (hence we're using an older libtool), then set it.
63039 if test x${with_gnu_ld+set} != xset; then
63040 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63041 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63044 with_gnu_ld=$ac_cv_prog_gnu_ld
63048 # Start by getting the version number. I think the libtool test already
63049 # does some of this, but throws away the result.
63050 glibcxx_ld_is_gold=no
63051 if test x"$with_gnu_ld" = x"yes"; then
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63053 $as_echo_n "checking for ld version... " >&6; }
63055 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63056 glibcxx_ld_is_gold=yes
63058 ldver=`$LD --version 2>/dev/null |
63059 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63061 glibcxx_gnu_ld_version=`echo $ldver | \
63062 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63064 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63067 # Set --gc-sections.
63068 glibcxx_have_gc_sections=no
63069 if test "$glibcxx_ld_is_gold" = "yes"; then
63070 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63071 glibcxx_have_gc_sections=yes
63074 glibcxx_gcsections_min_ld=21602
63075 if test x"$with_gnu_ld" = x"yes" &&
63076 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63077 glibcxx_have_gc_sections=yes
63080 if test "$glibcxx_have_gc_sections" = "yes"; then
63081 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63082 # NB: This flag only works reliably after 2.16.1. Configure tests
63083 # for this are difficult, so hard wire a value that should work.
63085 ac_test_CFLAGS="${CFLAGS+set}"
63086 ac_save_CFLAGS="$CFLAGS"
63087 CFLAGS='-Wl,--gc-sections'
63089 # Check for -Wl,--gc-sections
63090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63091 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63092 if test x$gcc_no_link = xyes; then
63093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63096 /* end confdefs.h. */
63097 int one(void) { return 1; }
63098 int two(void) { return 2; }
63108 if ac_fn_c_try_link "$LINENO"; then :
63113 rm -f core conftest.err conftest.$ac_objext \
63114 conftest$ac_exeext conftest.$ac_ext
63115 if test "$ac_gcsections" = "yes"; then
63118 if $CC -c conftest.c; then
63119 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63120 grep "Warning: gc-sections option ignored" > /dev/null; then
63124 rm -f conftest.c conftest.o conftest
63126 if test "$ac_gcsections" = "yes"; then
63127 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63130 $as_echo "$ac_gcsections" >&6; }
63132 if test "$ac_test_CFLAGS" = set; then
63133 CFLAGS="$ac_save_CFLAGS"
63135 # this is the suspicious part
63141 # Note this is only for shared objects.
63143 if test x"$with_gnu_ld" = x"yes"; then
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63145 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63146 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63147 if test -n "$cxx_z_relo"; then
63148 OPT_LDFLAGS="-Wl,-z,relro"
63151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63152 $as_echo "$ac_ld_relro" >&6; }
63155 # Set linker optimization flags.
63156 if test x"$with_gnu_ld" = x"yes"; then
63157 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63163 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63165 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63167 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63169 # All of the dependencies for wide character support are here, so
63171 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63177 # These two C99 functions are present only in Solaris >= 10
63178 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63180 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63184 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63186 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63188 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63190 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63194 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63197 # If we're not using GNU ld, then there's no point in even trying these
63198 # tests. Check for that first. We should have already tested for gld
63199 # by now (in libtool), but require it now just to be safe...
63200 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63201 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63205 # The name set by libtool depends on the version of libtool. Shame on us
63206 # for depending on an impl detail, but c'est la vie. Older versions used
63207 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63208 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63209 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63210 # set (hence we're using an older libtool), then set it.
63211 if test x${with_gnu_ld+set} != xset; then
63212 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63213 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63216 with_gnu_ld=$ac_cv_prog_gnu_ld
63220 # Start by getting the version number. I think the libtool test already
63221 # does some of this, but throws away the result.
63222 glibcxx_ld_is_gold=no
63223 if test x"$with_gnu_ld" = x"yes"; then
63224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63225 $as_echo_n "checking for ld version... " >&6; }
63227 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63228 glibcxx_ld_is_gold=yes
63230 ldver=`$LD --version 2>/dev/null |
63231 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63233 glibcxx_gnu_ld_version=`echo $ldver | \
63234 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63236 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63239 # Set --gc-sections.
63240 glibcxx_have_gc_sections=no
63241 if test "$glibcxx_ld_is_gold" = "yes"; then
63242 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63243 glibcxx_have_gc_sections=yes
63246 glibcxx_gcsections_min_ld=21602
63247 if test x"$with_gnu_ld" = x"yes" &&
63248 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63249 glibcxx_have_gc_sections=yes
63252 if test "$glibcxx_have_gc_sections" = "yes"; then
63253 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63254 # NB: This flag only works reliably after 2.16.1. Configure tests
63255 # for this are difficult, so hard wire a value that should work.
63257 ac_test_CFLAGS="${CFLAGS+set}"
63258 ac_save_CFLAGS="$CFLAGS"
63259 CFLAGS='-Wl,--gc-sections'
63261 # Check for -Wl,--gc-sections
63262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63263 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63264 if test x$gcc_no_link = xyes; then
63265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63268 /* end confdefs.h. */
63269 int one(void) { return 1; }
63270 int two(void) { return 2; }
63280 if ac_fn_c_try_link "$LINENO"; then :
63285 rm -f core conftest.err conftest.$ac_objext \
63286 conftest$ac_exeext conftest.$ac_ext
63287 if test "$ac_gcsections" = "yes"; then
63290 if $CC -c conftest.c; then
63291 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63292 grep "Warning: gc-sections option ignored" > /dev/null; then
63296 rm -f conftest.c conftest.o conftest
63298 if test "$ac_gcsections" = "yes"; then
63299 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63302 $as_echo "$ac_gcsections" >&6; }
63304 if test "$ac_test_CFLAGS" = set; then
63305 CFLAGS="$ac_save_CFLAGS"
63307 # this is the suspicious part
63313 # Note this is only for shared objects.
63315 if test x"$with_gnu_ld" = x"yes"; then
63316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63317 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63318 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63319 if test -n "$cxx_z_relo"; then
63320 OPT_LDFLAGS="-Wl,-z,relro"
63323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63324 $as_echo "$ac_ld_relro" >&6; }
63327 # Set linker optimization flags.
63328 if test x"$with_gnu_ld" = x"yes"; then
63329 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63335 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63337 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63339 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63341 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63343 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63345 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63347 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63349 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63351 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63353 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63355 if test x"long_double_math_on_this_cpu" = x"yes"; then
63356 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63358 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63360 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63362 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63367 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63369 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63371 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63373 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63375 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63377 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63379 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63381 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63383 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63385 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63387 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63389 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63391 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63393 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63395 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63397 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63399 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63401 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63403 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63405 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63409 as_fn_error "No support for this host/target combination." "$LINENO" 5
63415 # At some point, we should differentiate between architectures
63416 # like x86, which have long double versions, and alpha/powerpc/etc.,
63417 # which don't. For the time being, punt.
63418 if test x"long_double_math_on_this_cpu" = x"yes"; then
63419 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63421 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63423 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63425 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63427 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63429 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63431 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63433 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63435 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63437 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63439 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63441 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63443 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63445 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63447 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63449 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63451 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63453 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63455 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63457 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63459 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63461 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63463 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63468 # Check for _Unwind_GetIPInfo.
63471 # Check whether --with-system-libunwind was given.
63472 if test "${with_system_libunwind+set}" = set; then :
63473 withval=$with_system_libunwind;
63476 # If system-libunwind was not specifically set, pick a default setting.
63477 if test x$with_system_libunwind = x; then
63479 ia64-*-hpux*) with_system_libunwind=yes ;;
63480 *) with_system_libunwind=no ;;
63483 # Based on system-libunwind and target, do we have ipinfo?
63484 if test x$with_system_libunwind = xyes; then
63486 ia64-*-*) have_unwind_getipinfo=no ;;
63487 *) have_unwind_getipinfo=yes ;;
63490 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63493 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63494 *) have_unwind_getipinfo=yes ;;
63499 if test x$have_unwind_getipinfo = xyes; then
63501 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63507 # Check whether --enable-linux-futex was given.
63508 if test "${enable_linux_futex+set}" = set; then :
63509 enableval=$enable_linux_futex;
63510 case "$enableval" in
63512 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63516 enable_linux_futex=default
63522 case "$enable_linux_futex" in
63524 # If headers don't have gettid/futex syscalls definition, then
63525 # default to no, otherwise there will be compile time failures.
63526 # Otherwise, default to yes. If we don't detect we are
63527 # compiled/linked against NPTL and not cross-compiling, check
63528 # if programs are run by default against NPTL and if not, issue
63530 enable_linux_futex=no
63531 if test x$gcc_no_link = xyes; then
63532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63535 /* end confdefs.h. */
63536 #include <sys/syscall.h>
63541 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63546 if ac_fn_c_try_link "$LINENO"; then :
63548 LIBS="-lpthread $LIBS"
63549 if test x$gcc_no_link = xyes; then
63550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63553 /* end confdefs.h. */
63554 #ifndef _GNU_SOURCE
63555 #define _GNU_SOURCE 1
63557 #include <pthread.h>
63558 pthread_t th; void *status;
63562 pthread_tryjoin_np (th, &status);
63567 if ac_fn_c_try_link "$LINENO"; then :
63568 enable_linux_futex=yes
63570 if test x$cross_compiling = xno; then
63571 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63572 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63574 If so, please configure with --disable-linux-futex" >&5
63575 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63576 If so, please configure with --disable-linux-futex" >&2;}
63579 enable_linux_futex=yes
63581 rm -f core conftest.err conftest.$ac_objext \
63582 conftest$ac_exeext conftest.$ac_ext
63585 rm -f core conftest.err conftest.$ac_objext \
63586 conftest$ac_exeext conftest.$ac_ext
63589 if test x$gcc_no_link = xyes; then
63590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63593 /* end confdefs.h. */
63594 #include <sys/syscall.h>
63599 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63604 if ac_fn_c_try_link "$LINENO"; then :
63607 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63609 rm -f core conftest.err conftest.$ac_objext \
63610 conftest$ac_exeext conftest.$ac_ext
63615 enable_linux_futex=no
63618 if test x$enable_linux_futex = xyes; then
63620 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63627 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
63629 acx_cv_header_stdint=stddef.h
63630 acx_cv_header_stdint_kind="(already complete)"
63631 for i in stdint.h $inttype_headers; do
63632 unset ac_cv_type_uintptr_t
63633 unset ac_cv_type_uintmax_t
63634 unset ac_cv_type_int_least32_t
63635 unset ac_cv_type_int_fast32_t
63636 unset ac_cv_type_uint64_t
63637 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63638 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63641 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63642 acx_cv_header_stdint=$i
63647 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63650 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63653 acx_cv_header_stdint_kind="(mostly complete)"
63656 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63659 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63662 acx_cv_header_stdint_kind="(mostly complete)"
63665 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63668 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63671 acx_cv_header_stdint_kind="(mostly complete)"
63674 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63677 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63680 acx_cv_header_stdint_kind="(lacks uint64_t)"
63685 if test "$acx_cv_header_stdint" = stddef.h; then
63686 acx_cv_header_stdint_kind="(lacks uintmax_t)"
63687 for i in stdint.h $inttype_headers; do
63688 unset ac_cv_type_uintptr_t
63689 unset ac_cv_type_uint32_t
63690 unset ac_cv_type_uint64_t
63691 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63692 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63695 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63696 acx_cv_header_stdint=$i
63701 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63704 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63708 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63711 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63718 if test "$acx_cv_header_stdint" = stddef.h; then
63719 acx_cv_header_stdint_kind="(u_intXX_t style)"
63720 for i in sys/types.h $inttype_headers; do
63721 unset ac_cv_type_u_int32_t
63722 unset ac_cv_type_u_int64_t
63723 $as_echo_n "looking for u_intXX_t types in $i, " >&6
63724 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63727 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63728 acx_cv_header_stdint=$i
63733 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63736 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63743 if test "$acx_cv_header_stdint" = stddef.h; then
63744 acx_cv_header_stdint_kind="(using manual detection)"
63747 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63748 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63749 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63750 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63751 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63753 # ----------------- Summarize what we found so far
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63756 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63758 case `$as_basename -- include/gstdint.h ||
63759 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63760 Xinclude/gstdint.h : 'X\(//\)$' \| \
63761 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63762 $as_echo X/include/gstdint.h |
63763 sed '/^.*\/\([^/][^/]*\)\/*$/{
63776 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63777 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63778 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63779 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63784 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63786 # ----------------- done included file, check C basic types --------
63788 # Lacking an uintptr_t? Test size of void *
63789 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63790 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63793 # This bug is HP SR number 8606223364.
63794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63795 $as_echo_n "checking size of void *... " >&6; }
63796 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63797 $as_echo_n "(cached) " >&6
63799 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
63802 if test "$ac_cv_type_void_p" = yes; then
63803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63805 { as_fn_set_status 77
63806 as_fn_error "cannot compute sizeof (void *)
63807 See \`config.log' for more details." "$LINENO" 5; }; }
63809 ac_cv_sizeof_void_p=0
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63815 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63819 cat >>confdefs.h <<_ACEOF
63820 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63826 # Lacking an uint64_t? Test size of long
63827 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63828 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63831 # This bug is HP SR number 8606223364.
63832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63833 $as_echo_n "checking size of long... " >&6; }
63834 if test "${ac_cv_sizeof_long+set}" = set; then :
63835 $as_echo_n "(cached) " >&6
63837 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
63840 if test "$ac_cv_type_long" = yes; then
63841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63843 { as_fn_set_status 77
63844 as_fn_error "cannot compute sizeof (long)
63845 See \`config.log' for more details." "$LINENO" 5; }; }
63847 ac_cv_sizeof_long=0
63852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63853 $as_echo "$ac_cv_sizeof_long" >&6; }
63857 cat >>confdefs.h <<_ACEOF
63858 #define SIZEOF_LONG $ac_cv_sizeof_long
63864 if test $acx_cv_header_stdint = stddef.h; then
63865 # Lacking a good header? Test size of everything and deduce all types.
63866 # The cast to long int works around a bug in the HP C Compiler
63867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63869 # This bug is HP SR number 8606223364.
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63871 $as_echo_n "checking size of int... " >&6; }
63872 if test "${ac_cv_sizeof_int+set}" = set; then :
63873 $as_echo_n "(cached) " >&6
63875 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
63878 if test "$ac_cv_type_int" = yes; then
63879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63881 { as_fn_set_status 77
63882 as_fn_error "cannot compute sizeof (int)
63883 See \`config.log' for more details." "$LINENO" 5; }; }
63890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63891 $as_echo "$ac_cv_sizeof_int" >&6; }
63895 cat >>confdefs.h <<_ACEOF
63896 #define SIZEOF_INT $ac_cv_sizeof_int
63900 # The cast to long int works around a bug in the HP C Compiler
63901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63903 # This bug is HP SR number 8606223364.
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63905 $as_echo_n "checking size of short... " >&6; }
63906 if test "${ac_cv_sizeof_short+set}" = set; then :
63907 $as_echo_n "(cached) " >&6
63909 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
63912 if test "$ac_cv_type_short" = yes; then
63913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63915 { as_fn_set_status 77
63916 as_fn_error "cannot compute sizeof (short)
63917 See \`config.log' for more details." "$LINENO" 5; }; }
63919 ac_cv_sizeof_short=0
63924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
63925 $as_echo "$ac_cv_sizeof_short" >&6; }
63929 cat >>confdefs.h <<_ACEOF
63930 #define SIZEOF_SHORT $ac_cv_sizeof_short
63934 # The cast to long int works around a bug in the HP C Compiler
63935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63937 # This bug is HP SR number 8606223364.
63938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
63939 $as_echo_n "checking size of char... " >&6; }
63940 if test "${ac_cv_sizeof_char+set}" = set; then :
63941 $as_echo_n "(cached) " >&6
63943 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
63946 if test "$ac_cv_type_char" = yes; then
63947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63949 { as_fn_set_status 77
63950 as_fn_error "cannot compute sizeof (char)
63951 See \`config.log' for more details." "$LINENO" 5; }; }
63953 ac_cv_sizeof_char=0
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
63959 $as_echo "$ac_cv_sizeof_char" >&6; }
63963 cat >>confdefs.h <<_ACEOF
63964 #define SIZEOF_CHAR $ac_cv_sizeof_char
63969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
63970 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
63971 case "$ac_cv_sizeof_char" in
63972 1) acx_cv_type_int8_t=char ;;
63973 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
63975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
63976 $as_echo "$acx_cv_type_int8_t" >&6; }
63978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
63979 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
63980 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
63981 2:*) acx_cv_type_int16_t=int ;;
63982 *:2) acx_cv_type_int16_t=short ;;
63983 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
63986 $as_echo "$acx_cv_type_int16_t" >&6; }
63988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
63989 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
63990 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
63991 4:*) acx_cv_type_int32_t=int ;;
63992 *:4) acx_cv_type_int32_t=long ;;
63993 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
63995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
63996 $as_echo "$acx_cv_type_int32_t" >&6; }
63999 # These tests are here to make the output prettier
64001 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64002 case "$ac_cv_sizeof_long" in
64003 8) acx_cv_type_int64_t=long ;;
64005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64006 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64008 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64011 # Now we can use the above types
64013 if test "$ac_cv_type_uintptr_t" != yes; then
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64015 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64016 case $ac_cv_sizeof_void_p in
64017 2) acx_cv_type_intptr_t=int16_t ;;
64018 4) acx_cv_type_intptr_t=int32_t ;;
64019 8) acx_cv_type_intptr_t=int64_t ;;
64020 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64023 $as_echo "$acx_cv_type_intptr_t" >&6; }
64026 # ----------------- done all checks, emit header -------------
64027 ac_config_commands="$ac_config_commands include/gstdint.h"
64032 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64035 $as_echo_n "checking for GNU c++filt... " >&6; }
64036 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64037 $as_echo_n "(cached) " >&6
64039 if test -z "$CXXFILT"; then
64040 ac_path_CXXFILT_found=false
64041 # Loop through the user's path and test for each of PROGNAME-LIST
64042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64043 for as_dir in $PATH
64046 test -z "$as_dir" && as_dir=.
64047 for ac_prog in c++filt gc++filt; do
64048 for ac_exec_ext in '' $ac_executable_extensions; do
64049 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64050 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64051 # Check for GNU $ac_path_CXXFILT
64052 case `"$ac_path_CXXFILT" --version 2>&1` in
64054 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64057 $ac_path_CXXFILT_found && break 3
64062 if test -z "$ac_cv_path_CXXFILT"; then
64066 ac_cv_path_CXXFILT=$CXXFILT
64070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64071 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64072 CXXFILT=$ac_cv_path_CXXFILT
64076 # Check whether --enable-symvers was given.
64077 if test "${enable_symvers+set}" = set; then :
64078 enableval=$enable_symvers;
64079 case "$enableval" in
64080 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64081 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64090 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64091 # don't know enough about $LD to do tricks...
64093 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64094 # with extern "C++" in version scripts.
64097 # Turn a 'yes' into a suitable default.
64098 if test x$enable_symvers = xyes ; then
64099 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64102 if test $with_gnu_ld = yes ; then
64103 case ${target_os} in
64105 enable_symvers=no ;;
64107 enable_symvers=gnu ;;
64110 case ${target_os} in
64112 enable_symvers=darwin ;;
64113 # Sun symbol versioning exists since Solaris 2.5.
64114 solaris2.[5-9]* | solaris2.1[0-9]*)
64115 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64116 # version scripts, so disable symbol versioning if none can be
64118 if test -z "$ac_cv_path_CXXFILT"; then
64119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64120 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64122 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64131 enable_symvers=no ;;
64137 # Check to see if 'darwin' or 'darwin-export' can win.
64138 if test x$enable_symvers = xdarwin-export ; then
64139 enable_symvers=darwin
64142 # Check if 'sun' was requested on non-Solaris 2 platforms.
64143 if test x$enable_symvers = xsun ; then
64144 case ${target_os} in
64149 # Unlikely to work.
64150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64151 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64153 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64155 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64161 # Check to see if 'gnu' can win.
64162 if test $enable_symvers = gnu ||
64163 test $enable_symvers = gnu-versioned-namespace ||
64164 test $enable_symvers = sun; then
64165 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64167 $as_echo_n "checking for shared libgcc... " >&6; }
64168 ac_save_CFLAGS="$CFLAGS"
64170 if test x$gcc_no_link = xyes; then
64171 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64174 /* end confdefs.h. */
64184 if ac_fn_c_try_link "$LINENO"; then :
64185 glibcxx_shared_libgcc=yes
64187 glibcxx_shared_libgcc=no
64189 rm -f core conftest.err conftest.$ac_objext \
64190 conftest$ac_exeext conftest.$ac_ext
64191 CFLAGS="$ac_save_CFLAGS"
64192 if test $glibcxx_shared_libgcc = no; then
64193 cat > conftest.c <<EOF
64194 int main (void) { return 0; }
64196 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64197 -shared -shared-libgcc -o conftest.so \
64198 conftest.c -v 2>&1 >/dev/null \
64199 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64200 rm -f conftest.c conftest.so
64201 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64202 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64203 if test x$gcc_no_link = xyes; then
64204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64207 /* end confdefs.h. */
64217 if ac_fn_c_try_link "$LINENO"; then :
64218 glibcxx_shared_libgcc=yes
64220 rm -f core conftest.err conftest.$ac_objext \
64221 conftest$ac_exeext conftest.$ac_ext
64222 CFLAGS="$ac_save_CFLAGS"
64225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64226 $as_echo "$glibcxx_shared_libgcc" >&6; }
64228 # For GNU ld, we need at least this version. The format is described in
64229 # GLIBCXX_CHECK_LINKER_FEATURES above.
64230 glibcxx_min_gnu_ld_version=21400
64232 # If no shared libgcc, can't win.
64233 if test $glibcxx_shared_libgcc != yes; then
64234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64235 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64237 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64239 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64241 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64242 : All interesting versions of Sun ld support sun style symbol versioning.
64243 elif test $with_gnu_ld != yes ; then
64244 # just fail for now
64245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64246 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64248 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64250 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64252 elif test $glibcxx_ld_is_gold = yes ; then
64253 : All versions of gold support symbol versioning.
64254 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64255 # The right tools, the right setup, but too old. Fallbacks?
64256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64257 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64259 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64261 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64263 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64265 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64270 # Everything parsed; figure out what file to use.
64271 case $enable_symvers in
64273 SYMVER_FILE=config/abi/pre/none.ver
64276 SYMVER_FILE=config/abi/pre/gnu.ver
64278 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64281 gnu-versioned-namespace)
64282 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64284 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64288 SYMVER_FILE=config/abi/pre/gnu.ver
64290 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64294 SYMVER_FILE=config/abi/pre/gnu.ver
64296 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64301 if test x$enable_symvers != xno ; then
64303 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64308 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64309 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64310 $as_echo_n "(cached) " >&6
64313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64314 /* end confdefs.h. */
64315 void foo (void); __asm (".symver foo, bar@SYMVER");
64324 if ac_fn_c_try_compile "$LINENO"; then :
64325 glibcxx_cv_have_as_symver_directive=yes
64327 glibcxx_cv_have_as_symver_directive=no
64329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64332 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64333 if test $glibcxx_cv_have_as_symver_directive = yes; then
64335 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64346 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64347 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64349 if test $enable_symvers != no ; then
64350 case ${target_os} in
64351 # The Solaris 2 runtime linker doesn't support the GNU extension of
64352 # binding the same symbol to different versions
64354 symvers_renaming=no ;;
64355 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64358 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64360 symvers_renaming=yes ;;
64363 symvers_renaming=no
64367 # Now, set up compatibility support, if any.
64368 # In addition, need this to deal with std::size_t mangling in
64369 # src/compatibility.cc. In a perfect world, could use
64370 # typeid(std::size_t).name()[0] to do direct substitution.
64371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64372 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64373 ac_save_CFLAGS="$CFLAGS"
64375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64376 /* end confdefs.h. */
64381 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64386 if ac_fn_c_try_compile "$LINENO"; then :
64387 glibcxx_size_t_is_i=yes
64389 glibcxx_size_t_is_i=no
64391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64392 CFLAGS=$ac_save_CFLAGS
64393 if test "$glibcxx_size_t_is_i" = yes; then
64395 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64399 $as_echo "$glibcxx_size_t_is_i" >&6; }
64401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64402 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64403 ac_save_CFLAGS="$CFLAGS"
64405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64406 /* end confdefs.h. */
64411 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64416 if ac_fn_c_try_compile "$LINENO"; then :
64417 glibcxx_ptrdiff_t_is_i=yes
64419 glibcxx_ptrdiff_t_is_i=no
64421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64422 CFLAGS=$ac_save_CFLAGS
64423 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64425 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64429 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64432 # Check whether --enable-visibility was given.
64433 if test "${enable_visibility+set}" = set; then :
64434 enableval=$enable_visibility;
64435 case "$enableval" in
64437 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64441 enable_visibility=yes
64446 if test x$enable_visibility = xyes ; then
64447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64448 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64449 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64450 $as_echo_n "(cached) " >&6
64453 save_CFLAGS="$CFLAGS"
64454 CFLAGS="$CFLAGS -Werror"
64455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64456 /* end confdefs.h. */
64457 void __attribute__((visibility("hidden"))) foo(void) { }
64466 if ac_fn_c_try_compile "$LINENO"; then :
64467 glibcxx_cv_have_attribute_visibility=yes
64469 glibcxx_cv_have_attribute_visibility=no
64471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64472 CFLAGS="$save_CFLAGS"
64474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64475 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64476 if test $glibcxx_cv_have_attribute_visibility = no; then
64477 enable_visibility=no
64482 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64483 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64488 powerpc*-*-linux* | \
64489 powerpc*-*-gnu* | \
64490 sparc*-*-linux* | \
64493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64494 /* end confdefs.h. */
64500 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64501 #error no need for long double compatibility
64508 if ac_fn_c_try_compile "$LINENO"; then :
64513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64514 if test "$ac_ldbl_compat" = yes; then
64516 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64518 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64523 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64525 if $GLIBCXX_IS_NATIVE ; then
64526 # Do checks for resource limit functions.
64528 setrlimit_have_headers=yes
64529 for ac_header in unistd.h sys/time.h sys/resource.h
64531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64532 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64533 eval as_val=\$$as_ac_Header
64534 if test "x$as_val" = x""yes; then :
64535 cat >>confdefs.h <<_ACEOF
64536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64540 setrlimit_have_headers=no
64545 # If don't have the headers, then we can't run the tests now, and we
64546 # won't be seeing any of these during testsuite compilation.
64547 if test $setrlimit_have_headers = yes; then
64548 # Can't do these in a loop, else the resulting syntax is wrong.
64550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64551 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64553 /* end confdefs.h. */
64554 #include <unistd.h>
64555 #include <sys/time.h>
64556 #include <sys/resource.h>
64561 int f = RLIMIT_DATA ;
64566 if ac_fn_c_try_compile "$LINENO"; then :
64571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64573 cat >>confdefs.h <<_ACEOF
64574 #define HAVE_LIMIT_DATA $glibcxx_mresult
64577 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64579 $as_echo "$res" >&6; }
64582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64583 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64585 /* end confdefs.h. */
64586 #include <unistd.h>
64587 #include <sys/time.h>
64588 #include <sys/resource.h>
64593 int f = RLIMIT_RSS ;
64598 if ac_fn_c_try_compile "$LINENO"; then :
64603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64605 cat >>confdefs.h <<_ACEOF
64606 #define HAVE_LIMIT_RSS $glibcxx_mresult
64609 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64611 $as_echo "$res" >&6; }
64614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64615 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64617 /* end confdefs.h. */
64618 #include <unistd.h>
64619 #include <sys/time.h>
64620 #include <sys/resource.h>
64625 int f = RLIMIT_VMEM ;
64630 if ac_fn_c_try_compile "$LINENO"; then :
64635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64637 cat >>confdefs.h <<_ACEOF
64638 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64641 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64643 $as_echo "$res" >&6; }
64646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64647 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64649 /* end confdefs.h. */
64650 #include <unistd.h>
64651 #include <sys/time.h>
64652 #include <sys/resource.h>
64657 int f = RLIMIT_AS ;
64662 if ac_fn_c_try_compile "$LINENO"; then :
64667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64669 cat >>confdefs.h <<_ACEOF
64670 #define HAVE_LIMIT_AS $glibcxx_mresult
64673 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64675 $as_echo "$res" >&6; }
64678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64679 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64681 /* end confdefs.h. */
64682 #include <unistd.h>
64683 #include <sys/time.h>
64684 #include <sys/resource.h>
64689 int f = RLIMIT_FSIZE ;
64694 if ac_fn_c_try_compile "$LINENO"; then :
64699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64701 cat >>confdefs.h <<_ACEOF
64702 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64705 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64707 $as_echo "$res" >&6; }
64710 # Check for rlimit, setrlimit.
64711 if test "${glibcxx_cv_setrlimit+set}" = set; then :
64712 $as_echo_n "(cached) " >&6
64715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64716 /* end confdefs.h. */
64717 #include <unistd.h>
64718 #include <sys/time.h>
64719 #include <sys/resource.h>
64730 if ac_fn_c_try_compile "$LINENO"; then :
64731 glibcxx_cv_setrlimit=yes
64733 glibcxx_cv_setrlimit=no
64735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64742 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64743 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64746 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64752 $as_echo "$ac_res_limits" >&6; }
64755 # Look for setenv, so that extended locale tests can be performed.
64757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64758 $as_echo_n "checking for setenv declaration... " >&6; }
64759 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64760 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64761 $as_echo_n "(cached) " >&6
64766 ac_cpp='$CXXCPP $CPPFLAGS'
64767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64772 /* end confdefs.h. */
64773 #include <stdlib.h>
64782 if ac_fn_cxx_try_compile "$LINENO"; then :
64783 glibcxx_cv_func_setenv_use=yes
64785 glibcxx_cv_func_setenv_use=no
64787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64789 ac_cpp='$CPP $CPPFLAGS'
64790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64799 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64800 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64801 for ac_func in setenv
64803 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64804 if test "x$ac_cv_func_setenv" = x""yes; then :
64805 cat >>confdefs.h <<_ACEOF
64806 #define HAVE_SETENV 1
64816 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64817 test $enable_symvers != no; then
64820 enable_abi_check=no ;;
64822 enable_abi_check=yes ;;
64825 # Only build this as native, since automake does not understand
64827 enable_abi_check=no
64830 # Export file names for ABI checking.
64831 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64835 # Define documentation rules conditionally.
64837 # See if makeinfo has been installed and is modern enough
64838 # that we can use it.
64840 # Extract the first word of "makeinfo", so it can be a program name with args.
64841 set dummy makeinfo; ac_word=$2
64842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64843 $as_echo_n "checking for $ac_word... " >&6; }
64844 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64845 $as_echo_n "(cached) " >&6
64847 if test -n "$MAKEINFO"; then
64848 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64851 for as_dir in $PATH
64854 test -z "$as_dir" && as_dir=.
64855 for ac_exec_ext in '' $ac_executable_extensions; do
64856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64857 ac_cv_prog_MAKEINFO="makeinfo"
64858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64867 MAKEINFO=$ac_cv_prog_MAKEINFO
64868 if test -n "$MAKEINFO"; then
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64870 $as_echo "$MAKEINFO" >&6; }
64872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64873 $as_echo "no" >&6; }
64877 if test -n "$MAKEINFO"; then
64878 # Found it, now check the version.
64879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64880 $as_echo_n "checking for modern makeinfo... " >&6; }
64881 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64882 $as_echo_n "(cached) " >&6
64884 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64885 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64887 case $ac_prog_version in
64888 '') gcc_cv_prog_makeinfo_modern=no;;
64889 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
64890 *) gcc_cv_prog_makeinfo_modern=no;;
64894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64895 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64897 gcc_cv_prog_makeinfo_modern=no
64899 if test $gcc_cv_prog_makeinfo_modern = no; then
64900 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64903 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64905 BUILD_INFO_FALSE='#'
64907 BUILD_INFO_TRUE='#'
64912 # Check for doxygen
64913 # Extract the first word of "doxygen", so it can be a program name with args.
64914 set dummy doxygen; ac_word=$2
64915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64916 $as_echo_n "checking for $ac_word... " >&6; }
64917 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
64918 $as_echo_n "(cached) " >&6
64920 if test -n "$DOXYGEN"; then
64921 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
64923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64924 for as_dir in $PATH
64927 test -z "$as_dir" && as_dir=.
64928 for ac_exec_ext in '' $ac_executable_extensions; do
64929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64930 ac_cv_prog_DOXYGEN="yes"
64931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64938 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
64941 DOXYGEN=$ac_cv_prog_DOXYGEN
64942 if test -n "$DOXYGEN"; then
64943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
64944 $as_echo "$DOXYGEN" >&6; }
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64947 $as_echo "no" >&6; }
64951 # Extract the first word of "dot", so it can be a program name with args.
64952 set dummy dot; ac_word=$2
64953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64954 $as_echo_n "checking for $ac_word... " >&6; }
64955 if test "${ac_cv_prog_DOT+set}" = set; then :
64956 $as_echo_n "(cached) " >&6
64958 if test -n "$DOT"; then
64959 ac_cv_prog_DOT="$DOT" # Let the user override the test.
64961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64962 for as_dir in $PATH
64965 test -z "$as_dir" && as_dir=.
64966 for ac_exec_ext in '' $ac_executable_extensions; do
64967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64968 ac_cv_prog_DOT="yes"
64969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64976 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
64979 DOT=$ac_cv_prog_DOT
64980 if test -n "$DOT"; then
64981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
64982 $as_echo "$DOT" >&6; }
64984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64985 $as_echo "no" >&6; }
64990 # Check for docbook
64991 # Extract the first word of "xsltproc", so it can be a program name with args.
64992 set dummy xsltproc; ac_word=$2
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64994 $as_echo_n "checking for $ac_word... " >&6; }
64995 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
64996 $as_echo_n "(cached) " >&6
64998 if test -n "$XSLTPROC"; then
64999 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65002 for as_dir in $PATH
65005 test -z "$as_dir" && as_dir=.
65006 for ac_exec_ext in '' $ac_executable_extensions; do
65007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65008 ac_cv_prog_XSLTPROC="yes"
65009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65016 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65019 XSLTPROC=$ac_cv_prog_XSLTPROC
65020 if test -n "$XSLTPROC"; then
65021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65022 $as_echo "$XSLTPROC" >&6; }
65024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65025 $as_echo "no" >&6; }
65029 # Extract the first word of "xmllint", so it can be a program name with args.
65030 set dummy xmllint; ac_word=$2
65031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65032 $as_echo_n "checking for $ac_word... " >&6; }
65033 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65034 $as_echo_n "(cached) " >&6
65036 if test -n "$XMLLINT"; then
65037 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65040 for as_dir in $PATH
65043 test -z "$as_dir" && as_dir=.
65044 for ac_exec_ext in '' $ac_executable_extensions; do
65045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65046 ac_cv_prog_XMLLINT="yes"
65047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65054 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65057 XMLLINT=$ac_cv_prog_XMLLINT
65058 if test -n "$XMLLINT"; then
65059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65060 $as_echo "$XMLLINT" >&6; }
65062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65063 $as_echo "no" >&6; }
65069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65070 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65071 glibcxx_stylesheets=no
65072 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
65073 glibcxx_stylesheets=yes
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65076 $as_echo "$glibcxx_stylesheets" >&6; }
65078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65079 $as_echo_n "checking for local stylesheet directory... " >&6; }
65080 glibcxx_local_stylesheets=no
65081 if test x"$glibcxx_stylesheets" = x"yes"; then
65082 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65083 glibcxx_local_stylesheets=yes
65084 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65086 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65087 glibcxx_local_stylesheets=yes
65088 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65092 $as_echo "$glibcxx_local_stylesheets" >&6; }
65094 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65096 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65097 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65099 glibcxx_stylesheets=no
65103 # Check for xml/html dependencies.
65104 if test $ac_cv_prog_DOXYGEN = "yes" &&
65105 test $ac_cv_prog_DOT = "yes" &&
65106 test $ac_cv_prog_XSLTPROC = "yes" &&
65107 test $ac_cv_prog_XMLLINT = "yes" &&
65108 test $glibcxx_stylesheets = "yes"; then
65110 BUILD_XML_FALSE='#'
65117 if test $ac_cv_prog_DOXYGEN = "yes" &&
65118 test $ac_cv_prog_DOT = "yes" &&
65119 test $ac_cv_prog_XSLTPROC = "yes" &&
65120 test $ac_cv_prog_XMLLINT = "yes" &&
65121 test $glibcxx_stylesheets = "yes"; then
65123 BUILD_HTML_FALSE='#'
65125 BUILD_HTML_TRUE='#'
65130 # Check for man dependencies.
65131 if test $ac_cv_prog_DOXYGEN = "yes" &&
65132 test $ac_cv_prog_DOT = "yes"; then
65134 BUILD_MAN_FALSE='#'
65141 # Check for pdf/epub dependencies.
65142 # Extract the first word of "dblatex", so it can be a program name with args.
65143 set dummy dblatex; ac_word=$2
65144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65145 $as_echo_n "checking for $ac_word... " >&6; }
65146 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65147 $as_echo_n "(cached) " >&6
65149 if test -n "$DBLATEX"; then
65150 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65153 for as_dir in $PATH
65156 test -z "$as_dir" && as_dir=.
65157 for ac_exec_ext in '' $ac_executable_extensions; do
65158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65159 ac_cv_prog_DBLATEX="yes"
65160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65167 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65170 DBLATEX=$ac_cv_prog_DBLATEX
65171 if test -n "$DBLATEX"; then
65172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65173 $as_echo "$DBLATEX" >&6; }
65175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65176 $as_echo "no" >&6; }
65180 # Extract the first word of "pdflatex", so it can be a program name with args.
65181 set dummy pdflatex; ac_word=$2
65182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65183 $as_echo_n "checking for $ac_word... " >&6; }
65184 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65185 $as_echo_n "(cached) " >&6
65187 if test -n "$PDFLATEX"; then
65188 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65191 for as_dir in $PATH
65194 test -z "$as_dir" && as_dir=.
65195 for ac_exec_ext in '' $ac_executable_extensions; do
65196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65197 ac_cv_prog_PDFLATEX="yes"
65198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65205 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65208 PDFLATEX=$ac_cv_prog_PDFLATEX
65209 if test -n "$PDFLATEX"; then
65210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65211 $as_echo "$PDFLATEX" >&6; }
65213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65214 $as_echo "no" >&6; }
65218 if test $ac_cv_prog_DBLATEX = "yes" &&
65219 test $ac_cv_prog_PDFLATEX = "yes"; then
65221 BUILD_PDF_FALSE='#'
65228 # Extract the first word of "ruby", so it can be a program name with args.
65229 set dummy ruby; ac_word=$2
65230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65231 $as_echo_n "checking for $ac_word... " >&6; }
65232 if test "${ac_cv_prog_RUBY+set}" = set; then :
65233 $as_echo_n "(cached) " >&6
65235 if test -n "$RUBY"; then
65236 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65239 for as_dir in $PATH
65242 test -z "$as_dir" && as_dir=.
65243 for ac_exec_ext in '' $ac_executable_extensions; do
65244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65245 ac_cv_prog_RUBY="yes"
65246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65253 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65256 RUBY=$ac_cv_prog_RUBY
65257 if test -n "$RUBY"; then
65258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65259 $as_echo "$RUBY" >&6; }
65261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65262 $as_echo "no" >&6; }
65266 # Extract the first word of "dbtoepub", so it can be a program name with args.
65267 set dummy dbtoepub; ac_word=$2
65268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65269 $as_echo_n "checking for $ac_word... " >&6; }
65270 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65271 $as_echo_n "(cached) " >&6
65273 if test -n "$DBTOEPUB"; then
65274 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65277 for as_dir in $PATH
65280 test -z "$as_dir" && as_dir=.
65281 for ac_exec_ext in '' $ac_executable_extensions; do
65282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65283 ac_cv_prog_DBTOEPUB="yes"
65284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65291 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65294 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65295 if test -n "$DBTOEPUB"; then
65296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65297 $as_echo "$DBTOEPUB" >&6; }
65299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65300 $as_echo "no" >&6; }
65304 if test $ac_cv_prog_RUBY = "yes" &&
65305 test $ac_cv_prog_DBTOEPUB = "yes"; then
65307 BUILD_EPUB_FALSE='#'
65309 BUILD_EPUB_TRUE='#'
65315 # Propagate the target-specific source directories through the build chain.
65316 ATOMICITY_SRCDIR=config/${atomicity_dir}
65317 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65318 ATOMIC_FLAGS=${atomic_flags}
65319 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65320 OS_INC_SRCDIR=config/${os_include_dir}
65321 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65322 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65332 # Determine cross-compile flags and AM_CONDITIONALs.
65333 #AC_SUBST(GLIBCXX_IS_NATIVE)
65334 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65335 if test $is_hosted = yes; then
65336 GLIBCXX_HOSTED_TRUE=
65337 GLIBCXX_HOSTED_FALSE='#'
65339 GLIBCXX_HOSTED_TRUE='#'
65340 GLIBCXX_HOSTED_FALSE=
65344 if test $enable_libstdcxx_pch = yes; then
65345 GLIBCXX_BUILD_PCH_TRUE=
65346 GLIBCXX_BUILD_PCH_FALSE='#'
65348 GLIBCXX_BUILD_PCH_TRUE='#'
65349 GLIBCXX_BUILD_PCH_FALSE=
65353 if test $enable_cheaders = c; then
65354 GLIBCXX_C_HEADERS_C_TRUE=
65355 GLIBCXX_C_HEADERS_C_FALSE='#'
65357 GLIBCXX_C_HEADERS_C_TRUE='#'
65358 GLIBCXX_C_HEADERS_C_FALSE=
65362 if test $enable_cheaders = c_std; then
65363 GLIBCXX_C_HEADERS_C_STD_TRUE=
65364 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65366 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65367 GLIBCXX_C_HEADERS_C_STD_FALSE=
65371 if test $enable_cheaders = c_global; then
65372 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65373 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65375 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65376 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65380 if test $c_compatibility = yes; then
65381 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65382 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65384 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65385 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65389 if test $enable_libstdcxx_debug = yes; then
65390 GLIBCXX_BUILD_DEBUG_TRUE=
65391 GLIBCXX_BUILD_DEBUG_FALSE='#'
65393 GLIBCXX_BUILD_DEBUG_TRUE='#'
65394 GLIBCXX_BUILD_DEBUG_FALSE=
65398 if test $enable_parallel = yes; then
65399 ENABLE_PARALLEL_TRUE=
65400 ENABLE_PARALLEL_FALSE='#'
65402 ENABLE_PARALLEL_TRUE='#'
65403 ENABLE_PARALLEL_FALSE=
65407 if test $enable_extern_template = yes; then
65408 ENABLE_EXTERN_TEMPLATE_TRUE=
65409 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65411 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65412 ENABLE_EXTERN_TEMPLATE_FALSE=
65416 if test $enable_symvers != no; then
65417 ENABLE_SYMVERS_TRUE=
65418 ENABLE_SYMVERS_FALSE='#'
65420 ENABLE_SYMVERS_TRUE='#'
65421 ENABLE_SYMVERS_FALSE=
65425 if test $enable_symvers = gnu; then
65426 ENABLE_SYMVERS_GNU_TRUE=
65427 ENABLE_SYMVERS_GNU_FALSE='#'
65429 ENABLE_SYMVERS_GNU_TRUE='#'
65430 ENABLE_SYMVERS_GNU_FALSE=
65434 if test $enable_symvers = gnu-versioned-namespace; then
65435 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65436 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65438 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65439 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65443 if test $enable_symvers = darwin; then
65444 ENABLE_SYMVERS_DARWIN_TRUE=
65445 ENABLE_SYMVERS_DARWIN_FALSE='#'
65447 ENABLE_SYMVERS_DARWIN_TRUE='#'
65448 ENABLE_SYMVERS_DARWIN_FALSE=
65452 if test $enable_symvers = sun; then
65453 ENABLE_SYMVERS_SUN_TRUE=
65454 ENABLE_SYMVERS_SUN_FALSE='#'
65456 ENABLE_SYMVERS_SUN_TRUE='#'
65457 ENABLE_SYMVERS_SUN_FALSE=
65461 if test $symvers_renaming = no; then
65462 ENABLE_SYMVERS_SOL2_TRUE=
65463 ENABLE_SYMVERS_SOL2_FALSE='#'
65465 ENABLE_SYMVERS_SOL2_TRUE='#'
65466 ENABLE_SYMVERS_SOL2_FALSE=
65470 if test $enable_visibility = yes; then
65471 ENABLE_VISIBILITY_TRUE=
65472 ENABLE_VISIBILITY_FALSE='#'
65474 ENABLE_VISIBILITY_TRUE='#'
65475 ENABLE_VISIBILITY_FALSE=
65479 if test $ac_ldbl_compat = yes; then
65480 GLIBCXX_LDBL_COMPAT_TRUE=
65481 GLIBCXX_LDBL_COMPAT_FALSE='#'
65483 GLIBCXX_LDBL_COMPAT_TRUE='#'
65484 GLIBCXX_LDBL_COMPAT_FALSE=
65490 cat >confcache <<\_ACEOF
65491 # This file is a shell script that caches the results of configure
65492 # tests run on this system so they can be shared between configure
65493 # scripts and configure runs, see configure's option --config-cache.
65494 # It is not useful on other systems. If it contains results you don't
65495 # want to keep, you may remove or edit it.
65497 # config.status only pays attention to the cache file if you give it
65498 # the --recheck option to rerun configure.
65500 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65501 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65502 # following values.
65506 # The following way of writing the cache mishandles newlines in values,
65507 # but we know of no workaround that is simple, portable, and efficient.
65508 # So, we kill variables containing newlines.
65509 # Ultrix sh set writes to stderr and can't be redirected directly,
65510 # and sets the high bit in the cache file unless we assign to the vars.
65512 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65513 eval ac_val=\$$ac_var
65517 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65518 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65521 _ | IFS | as_nl) ;; #(
65522 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65523 *) { eval $ac_var=; unset $ac_var;} ;;
65529 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65530 *${as_nl}ac_space=\ *)
65531 # `set' does not quote correctly, so add quotes: double-quote
65532 # substitution turns \\\\ into \\, and sed turns \\ into \.
65535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65538 # `set' quotes correctly as required by POSIX, so do not add quotes.
65539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65548 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65550 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65552 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65553 if test -w "$cache_file"; then
65554 test "x$cache_file" != "x/dev/null" &&
65555 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65556 $as_echo "$as_me: updating cache $cache_file" >&6;}
65557 cat confcache >$cache_file
65559 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65560 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65565 if test ${multilib} = yes; then
65566 multilib_arg="--enable-multilib"
65571 # Export all the install information.
65573 glibcxx_toolexecdir=no
65574 glibcxx_toolexeclibdir=no
65575 glibcxx_prefixdir=$prefix
65577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65578 $as_echo_n "checking for gxx-include-dir... " >&6; }
65580 # Check whether --with-gxx-include-dir was given.
65581 if test "${with_gxx_include_dir+set}" = set; then :
65582 withval=$with_gxx_include_dir; case "$withval" in
65583 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65584 no) gxx_include_dir=no ;;
65585 *) gxx_include_dir=$withval ;;
65591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65592 $as_echo "$gxx_include_dir" >&6; }
65594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65595 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65596 # Check whether --enable-version-specific-runtime-libs was given.
65597 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65598 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65599 yes) version_specific_libs=yes ;;
65600 no) version_specific_libs=no ;;
65601 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65604 version_specific_libs=no
65607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65608 $as_echo "$version_specific_libs" >&6; }
65610 # Default case for install directory for include files.
65611 if test $version_specific_libs = no && test $gxx_include_dir = no; then
65612 gxx_include_dir='include/c++/${gcc_version}'
65613 if test -n "$with_cross_host" &&
65614 test x"$with_cross_host" != x"no"; then
65615 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65617 gxx_include_dir='${prefix}/'"$gxx_include_dir"
65621 # Version-specific runtime libs processing.
65622 if test $version_specific_libs = yes; then
65623 # Need the gcc compiler version to know where to install libraries
65624 # and header files if --enable-version-specific-runtime-libs option
65625 # is selected. FIXME: these variables are misnamed, there are
65626 # no executables installed in _toolexecdir or _toolexeclibdir.
65627 if test x"$gxx_include_dir" = x"no"; then
65628 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65630 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65631 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65634 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65635 # Install a library built with a cross compiler in tooldir, not libdir.
65636 if test x"$glibcxx_toolexecdir" = x"no"; then
65637 if test -n "$with_cross_host" &&
65638 test x"$with_cross_host" != x"no"; then
65639 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65640 glibcxx_toolexeclibdir='${toolexecdir}/lib'
65642 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65643 glibcxx_toolexeclibdir='${libdir}'
65645 multi_os_directory=`$CXX -print-multi-os-directory`
65646 case $multi_os_directory in
65647 .) ;; # Avoid trailing /.
65648 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65653 $as_echo_n "checking for install location... " >&6; }
65654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65655 $as_echo "$gxx_include_dir" >&6; }
65663 # Export all the include and flag information to Makefiles.
65665 # Used for every C++ compile we perform.
65666 GLIBCXX_INCLUDES="\
65667 -I$glibcxx_builddir/include/$host_alias \
65668 -I$glibcxx_builddir/include \
65669 -I$glibcxx_srcdir/libsupc++"
65671 # For Canadian crosses, pick this up too.
65672 if test $CANADIAN = yes; then
65673 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65676 # Stuff in the actual top level. Currently only used by libsupc++ to
65677 # get unwind* headers from the gcc dir.
65678 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65679 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65681 # Now, export this to all the little Makefiles....
65686 # Optimization flags that are probably a good idea for thrill-seekers. Just
65687 # uncomment the lines below and make, everything else is ready to go...
65688 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65689 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65692 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65696 if test "$enable_shared" = yes; then
65697 LIBSUPCXX_PICFLAGS="-prefer-pic"
65699 LIBSUPCXX_PICFLAGS=
65703 ac_config_files="$ac_config_files Makefile"
65705 ac_config_files="$ac_config_files scripts/testsuite_flags"
65707 ac_config_files="$ac_config_files scripts/extract_symvers"
65710 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65711 # that multilib installs will end up installed in the correct place.
65712 # The testsuite needs it for multilib-aware ABI baseline files.
65713 # To work around this not being passed down from config-ml.in ->
65714 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65715 # append it here. Only modify Makefiles that have just been created.
65717 # Also, get rid of this simulated-VPATH thing that automake does.
65718 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65721 ac_config_commands="$ac_config_commands generate-headers"
65724 cat >confcache <<\_ACEOF
65725 # This file is a shell script that caches the results of configure
65726 # tests run on this system so they can be shared between configure
65727 # scripts and configure runs, see configure's option --config-cache.
65728 # It is not useful on other systems. If it contains results you don't
65729 # want to keep, you may remove or edit it.
65731 # config.status only pays attention to the cache file if you give it
65732 # the --recheck option to rerun configure.
65734 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65735 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65736 # following values.
65740 # The following way of writing the cache mishandles newlines in values,
65741 # but we know of no workaround that is simple, portable, and efficient.
65742 # So, we kill variables containing newlines.
65743 # Ultrix sh set writes to stderr and can't be redirected directly,
65744 # and sets the high bit in the cache file unless we assign to the vars.
65746 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65747 eval ac_val=\$$ac_var
65751 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65752 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65755 _ | IFS | as_nl) ;; #(
65756 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65757 *) { eval $ac_var=; unset $ac_var;} ;;
65763 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65764 *${as_nl}ac_space=\ *)
65765 # `set' does not quote correctly, so add quotes: double-quote
65766 # substitution turns \\\\ into \\, and sed turns \\ into \.
65769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65772 # `set' quotes correctly as required by POSIX, so do not add quotes.
65773 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65782 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65784 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65786 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65787 if test -w "$cache_file"; then
65788 test "x$cache_file" != "x/dev/null" &&
65789 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65790 $as_echo "$as_me: updating cache $cache_file" >&6;}
65791 cat confcache >$cache_file
65793 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65794 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65800 # Let make expand exec_prefix.
65801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65803 DEFS=-DHAVE_CONFIG_H
65807 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65808 # 1. Remove the extension, and $U if already installed.
65809 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65810 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65811 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
65812 # will be set to the directory where LIBOBJS objects are built.
65813 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65814 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65816 LIBOBJS=$ac_libobjs
65818 LTLIBOBJS=$ac_ltlibobjs
65821 if test -n "$EXEEXT"; then
65823 am__EXEEXT_FALSE='#'
65825 am__EXEEXT_TRUE='#'
65829 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65830 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65833 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65834 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65837 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65838 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65841 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65842 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65845 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65846 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65849 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65850 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65853 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65854 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65857 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65858 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65861 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65862 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65865 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
65866 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
65867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65869 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65870 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65873 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65874 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65877 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65878 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65881 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65882 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65885 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65886 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65889 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65890 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65893 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65894 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65897 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65898 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65901 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65902 as_fn_error "conditional \"BUILD_INFO\" was never defined.
65903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65905 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
65906 as_fn_error "conditional \"BUILD_XML\" was never defined.
65907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65909 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
65910 as_fn_error "conditional \"BUILD_HTML\" was never defined.
65911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65913 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
65914 as_fn_error "conditional \"BUILD_MAN\" was never defined.
65915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65917 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
65918 as_fn_error "conditional \"BUILD_PDF\" was never defined.
65919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65921 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
65922 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
65923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65926 : ${CONFIG_STATUS=./config.status}
65928 ac_clean_files_save=$ac_clean_files
65929 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
65930 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
65931 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
65933 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
65935 # Generated by $as_me.
65936 # Run this file to recreate the current configuration.
65937 # Compiler output produced by configure, useful for debugging
65938 # configure, is in config.log if it exists.
65941 ac_cs_recheck=false
65944 SHELL=\${CONFIG_SHELL-$SHELL}
65947 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
65948 ## -------------------- ##
65949 ## M4sh Initialization. ##
65950 ## -------------------- ##
65952 # Be more Bourne compatible
65953 DUALCASE=1; export DUALCASE # for MKS sh
65954 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
65957 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
65958 # is contrary to our usage. Disable this feature.
65959 alias -g '${1+"$@"}'='"$@"'
65960 setopt NO_GLOB_SUBST
65962 case `(set -o) 2>/dev/null` in #(
65974 # Printing a long string crashes Solaris 7 /usr/bin/printf.
65975 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
65976 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
65977 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
65978 # Prefer a ksh shell builtin over an external printf program on Solaris,
65979 # but without wasting forks for bash or zsh.
65980 if test -z "$BASH_VERSION$ZSH_VERSION" \
65981 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
65982 as_echo='print -r --'
65983 as_echo_n='print -rn --'
65984 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
65985 as_echo='printf %s\n'
65986 as_echo_n='printf %s'
65988 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
65989 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
65990 as_echo_n='/usr/ucb/echo -n'
65992 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65993 as_echo_n_body='eval
65997 expr "X$arg" : "X\\(.*\\)$as_nl";
65998 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66000 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66002 export as_echo_n_body
66003 as_echo_n='sh -c $as_echo_n_body as_echo'
66005 export as_echo_body
66006 as_echo='sh -c $as_echo_body as_echo'
66009 # The user is always right.
66010 if test "${PATH_SEPARATOR+set}" != set; then
66012 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66013 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66020 # We need space, tab and new line, in precisely that order. Quoting is
66021 # there to prevent editors from complaining about space-tab.
66022 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66023 # splitting by setting IFS to empty value.)
66026 # Find who we are. Look in the path if we contain no directory separator.
66028 *[\\/]* ) as_myself=$0 ;;
66029 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66030 for as_dir in $PATH
66033 test -z "$as_dir" && as_dir=.
66034 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66040 # We did not find ourselves, most probably we were run as `sh COMMAND'
66041 # in which case we are not to be found in the path.
66042 if test "x$as_myself" = x; then
66045 if test ! -f "$as_myself"; then
66046 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66050 # Unset variables that we do not need and which cause bugs (e.g. in
66051 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66052 # suppresses any "Segmentation fault" message there. '((' could
66053 # trigger a bug in pdksh 5.2.14.
66054 for as_var in BASH_ENV ENV MAIL MAILPATH
66055 do eval test x\${$as_var+set} = xset \
66056 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66069 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66072 # as_fn_error ERROR [LINENO LOG_FD]
66073 # ---------------------------------
66074 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66075 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66076 # script with status $?, using 1 if that was 0.
66079 as_status=$?; test $as_status -eq 0 && as_status=1
66081 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66082 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66084 $as_echo "$as_me: error: $1" >&2
66085 as_fn_exit $as_status
66089 # as_fn_set_status STATUS
66090 # -----------------------
66091 # Set $? to STATUS, without forking.
66092 as_fn_set_status ()
66095 } # as_fn_set_status
66097 # as_fn_exit STATUS
66098 # -----------------
66099 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66103 as_fn_set_status $1
66109 # Portably unset VAR.
66112 { eval $1=; unset $1;}
66114 as_unset=as_fn_unset
66115 # as_fn_append VAR VALUE
66116 # ----------------------
66117 # Append the text in VALUE to the end of the definition contained in VAR. Take
66118 # advantage of any shell optimizations that allow amortized linear growth over
66119 # repeated appends, instead of the typical quadratic growth present in naive
66121 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66122 eval 'as_fn_append ()
66133 # as_fn_arith ARG...
66134 # ------------------
66135 # Perform arithmetic evaluation on the ARGs, and store the result in the
66136 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66137 # must be portable across $(()) and expr.
66138 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66139 eval 'as_fn_arith ()
66146 as_val=`expr "$@" || test $? -eq 1`
66151 if expr a : '\(a\)' >/dev/null 2>&1 &&
66152 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66158 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66159 as_basename=basename
66164 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66170 as_me=`$as_basename -- "$0" ||
66171 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66172 X"$0" : 'X\(//\)$' \| \
66173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66175 sed '/^.*\/\([^/][^/]*\)\/*$/{
66189 # Avoid depending upon Character Ranges.
66190 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66191 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66192 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66193 as_cr_digits='0123456789'
66194 as_cr_alnum=$as_cr_Letters$as_cr_digits
66196 ECHO_C= ECHO_N= ECHO_T=
66197 case `echo -n x` in #(((((
66199 case `echo 'xy\c'` in
66200 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66202 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66209 rm -f conf$$ conf$$.exe conf$$.file
66210 if test -d conf$$.dir; then
66211 rm -f conf$$.dir/conf$$.file
66214 mkdir conf$$.dir 2>/dev/null
66216 if (echo >conf$$.file) 2>/dev/null; then
66217 if ln -s conf$$.file conf$$ 2>/dev/null; then
66219 # ... but there are two gotchas:
66220 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66221 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66222 # In both cases, we have to default to `cp -p'.
66223 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66225 elif ln conf$$.file conf$$ 2>/dev/null; then
66233 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66234 rmdir conf$$.dir 2>/dev/null
66239 # Create "$as_dir" as a directory, including parents if necessary.
66244 -*) as_dir=./$as_dir;;
66246 test -d "$as_dir" || eval $as_mkdir_p || {
66250 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66251 *) as_qdir=$as_dir;;
66253 as_dirs="'$as_qdir' $as_dirs"
66254 as_dir=`$as_dirname -- "$as_dir" ||
66255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66256 X"$as_dir" : 'X\(//\)[^/]' \| \
66257 X"$as_dir" : 'X\(//\)$' \| \
66258 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66259 $as_echo X"$as_dir" |
66260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66264 /^X\(\/\/\)[^/].*/{
66277 test -d "$as_dir" && break
66279 test -z "$as_dirs" || eval "mkdir $as_dirs"
66280 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66284 if mkdir -p . 2>/dev/null; then
66285 as_mkdir_p='mkdir -p "$as_dir"'
66287 test -d ./-p && rmdir ./-p
66291 if test -x / >/dev/null 2>&1; then
66292 as_test_x='test -x'
66294 if ls -dL / >/dev/null 2>&1; then
66301 if test -d "$1"; then
66307 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66308 ???[sx]*):;;*)false;;esac;fi
66312 as_executable_p=$as_test_x
66314 # Sed expression to map a string onto a valid CPP name.
66315 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66317 # Sed expression to map a string onto a valid variable name.
66318 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66322 ## ----------------------------------- ##
66323 ## Main body of $CONFIG_STATUS script. ##
66324 ## ----------------------------------- ##
66326 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66329 # Save the log message, to keep $0 and so on meaningful, and to
66330 # report actual input values of CONFIG_FILES etc. instead of their
66331 # values after options handling.
66333 This file was extended by package-unused $as_me version-unused, which was
66334 generated by GNU Autoconf 2.64. Invocation command line was
66336 CONFIG_FILES = $CONFIG_FILES
66337 CONFIG_HEADERS = $CONFIG_HEADERS
66338 CONFIG_LINKS = $CONFIG_LINKS
66339 CONFIG_COMMANDS = $CONFIG_COMMANDS
66342 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66347 case $ac_config_files in *"
66348 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66351 case $ac_config_headers in *"
66352 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66357 # Files that config.status was made for.
66358 config_files="$ac_config_files"
66359 config_headers="$ac_config_headers"
66360 config_commands="$ac_config_commands"
66364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66366 \`$as_me' instantiates files and other configuration actions
66367 from templates according to the current configuration. Unless the files
66368 and actions are specified as TAGs, all are instantiated by default.
66370 Usage: $0 [OPTION]... [TAG]...
66372 -h, --help print this help, then exit
66373 -V, --version print version number and configuration settings, then exit
66374 -q, --quiet, --silent
66375 do not print progress messages
66376 -d, --debug don't remove temporary files
66377 --recheck update $as_me by reconfiguring in the same conditions
66378 --file=FILE[:TEMPLATE]
66379 instantiate the configuration file FILE
66380 --header=FILE[:TEMPLATE]
66381 instantiate the configuration header FILE
66383 Configuration files:
66386 Configuration headers:
66389 Configuration commands:
66392 Report bugs to the package provider."
66395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66397 package-unused config.status version-unused
66398 configured by $0, generated by GNU Autoconf 2.64,
66399 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66401 Copyright (C) 2009 Free Software Foundation, Inc.
66402 This config.status script is free software; the Free Software Foundation
66403 gives unlimited permission to copy, distribute and modify it."
66410 test -n "\$AWK" || AWK=awk
66413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66414 # The default lists apply if the user does not specify any file.
66420 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66421 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66432 # Handling of the options.
66433 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66435 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66436 $as_echo "$ac_cs_version"; exit ;;
66437 --debug | --debu | --deb | --de | --d | -d )
66439 --file | --fil | --fi | --f )
66442 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66444 as_fn_append CONFIG_FILES " '$ac_optarg'"
66445 ac_need_defaults=false;;
66446 --header | --heade | --head | --hea )
66449 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66451 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66452 ac_need_defaults=false;;
66454 # Conflict between --help and --header
66455 as_fn_error "ambiguous option: \`$1'
66456 Try \`$0 --help' for more information.";;
66457 --help | --hel | -h )
66458 $as_echo "$ac_cs_usage"; exit ;;
66459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66460 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66463 # This is an error.
66464 -*) as_fn_error "unrecognized option: \`$1'
66465 Try \`$0 --help' for more information." ;;
66467 *) as_fn_append ac_config_targets " $1"
66468 ac_need_defaults=false ;;
66474 ac_configure_extra_args=
66476 if $ac_cs_silent; then
66478 ac_configure_extra_args="$ac_configure_extra_args --silent"
66482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66483 if \$ac_cs_recheck; then
66484 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66486 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66487 CONFIG_SHELL='$SHELL'
66488 export CONFIG_SHELL
66493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66497 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66498 ## Running $as_me. ##
66504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66512 with_multisubdir="$with_multisubdir"
66513 with_multisrctop="$with_multisrctop"
66514 with_target_subdir="$with_target_subdir"
66515 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66516 multi_basedir="$multi_basedir"
66517 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66520 GFORTRAN="$GFORTRAN"
66524 # The HP-UX ksh and POSIX shell print the target directory to stdout
66525 # if CDPATH is set.
66526 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66528 sed_quote_subst='$sed_quote_subst'
66529 double_quote_subst='$double_quote_subst'
66530 delay_variable_subst='$delay_variable_subst'
66531 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66532 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66533 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66534 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66535 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66536 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66537 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66538 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66539 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66540 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66541 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66542 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66543 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66544 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66545 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66546 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66547 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66548 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66549 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66550 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66551 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66552 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66553 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66554 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66555 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66556 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66557 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66558 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66559 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66560 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66561 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66562 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66563 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66564 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66565 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66566 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66567 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66568 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66569 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66570 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66571 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66572 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66573 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66574 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66575 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66576 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66577 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66578 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66579 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
66580 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66581 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66582 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66583 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66584 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66585 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66586 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66587 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66588 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66589 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66590 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66591 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66592 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66593 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66594 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66595 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66596 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66597 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66598 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66599 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66600 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66601 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66602 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66603 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66604 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66605 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66606 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66607 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66608 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66609 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66610 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66611 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66612 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66613 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66614 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66615 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66616 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66617 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66618 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66619 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66620 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66621 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66622 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66623 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66624 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66625 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66626 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66627 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66628 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66629 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66630 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66631 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66632 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66633 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66634 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66635 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66636 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66637 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66638 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66639 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66640 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66641 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66642 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66643 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66644 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66645 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66646 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66647 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66648 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66649 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66650 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66651 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66652 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66653 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66654 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66655 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66656 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66657 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66658 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66659 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66660 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66661 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66662 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66663 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66664 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66665 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66666 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66667 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66668 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66669 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66670 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66671 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66672 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66673 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66674 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66675 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66676 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66677 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66678 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66679 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66680 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66681 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66682 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66683 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66684 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66685 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66686 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66687 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66688 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66689 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66690 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66691 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66692 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66693 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66694 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66695 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66696 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66697 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66698 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66699 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66700 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66701 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66702 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66703 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66704 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66705 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66708 LTCFLAGS='$LTCFLAGS'
66709 compiler='$compiler_DEFAULT'
66711 # A function that is used when there is no print builtin or printf.
66712 func_fallback_echo ()
66714 eval 'cat <<_LTECHO_EOF
66719 # Quote evaled strings.
66733 deplibs_check_method \
66742 lt_cv_sys_global_symbol_pipe \
66743 lt_cv_sys_global_symbol_to_cdecl \
66744 lt_cv_sys_global_symbol_to_c_name_address \
66745 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66746 lt_prog_compiler_no_builtin_flag \
66747 lt_prog_compiler_wl \
66748 lt_prog_compiler_pic \
66749 lt_prog_compiler_static \
66750 lt_cv_prog_compiler_c_o \
66758 export_dynamic_flag_spec \
66759 whole_archive_flag_spec \
66760 compiler_needs_object \
66762 allow_undefined_flag \
66763 no_undefined_flag \
66764 hardcode_libdir_flag_spec \
66765 hardcode_libdir_flag_spec_ld \
66766 hardcode_libdir_separator \
66771 variables_saved_for_relink \
66773 library_names_spec \
66775 install_override_mode \
66779 compiler_lib_search_dirs \
66784 compiler_lib_search_path \
66788 lt_prog_compiler_no_builtin_flag_CXX \
66789 lt_prog_compiler_wl_CXX \
66790 lt_prog_compiler_pic_CXX \
66791 lt_prog_compiler_static_CXX \
66792 lt_cv_prog_compiler_c_o_CXX \
66793 export_dynamic_flag_spec_CXX \
66794 whole_archive_flag_spec_CXX \
66795 compiler_needs_object_CXX \
66797 allow_undefined_flag_CXX \
66798 no_undefined_flag_CXX \
66799 hardcode_libdir_flag_spec_CXX \
66800 hardcode_libdir_flag_spec_ld_CXX \
66801 hardcode_libdir_separator_CXX \
66802 fix_srcfile_path_CXX \
66803 exclude_expsyms_CXX \
66804 include_expsyms_CXX \
66805 file_list_spec_CXX \
66806 compiler_lib_search_dirs_CXX \
66807 predep_objects_CXX \
66808 postdep_objects_CXX \
66811 compiler_lib_search_path_CXX; do
66812 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66813 *[\\\\\\\`\\"\\\$]*)
66814 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66817 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66822 # Double-quote double-evaled strings.
66823 for var in reload_cmds \
66824 old_postinstall_cmds \
66825 old_postuninstall_cmds \
66827 extract_expsyms_cmds \
66828 old_archive_from_new_cmds \
66829 old_archive_from_expsyms_cmds \
66831 archive_expsym_cmds \
66833 module_expsym_cmds \
66834 export_symbols_cmds \
66837 postuninstall_cmds \
66839 sys_lib_search_path_spec \
66840 sys_lib_dlsearch_path_spec \
66842 old_archive_cmds_CXX \
66843 old_archive_from_new_cmds_CXX \
66844 old_archive_from_expsyms_cmds_CXX \
66846 archive_expsym_cmds_CXX \
66848 module_expsym_cmds_CXX \
66849 export_symbols_cmds_CXX \
66850 prelink_cmds_CXX; do
66851 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66852 *[\\\\\\\`\\"\\\$]*)
66853 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66856 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66861 ac_aux_dir='$ac_aux_dir'
66862 xsi_shell='$xsi_shell'
66863 lt_shell_append='$lt_shell_append'
66865 # See if we are running on zsh, and set the options which allow our
66866 # commands through without removal of \ escapes INIT.
66867 if test -n "\${ZSH_VERSION+set}" ; then
66868 setopt NO_GLOB_SUBST
66874 TIMESTAMP='$TIMESTAMP'
66885 acx_cv_header_stdint="$acx_cv_header_stdint"
66886 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66887 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66888 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66889 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66890 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66891 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66892 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66893 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66894 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66895 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66896 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66897 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66898 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66905 # Handling of arguments.
66906 for ac_config_target in $ac_config_targets
66908 case $ac_config_target in
66909 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
66910 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
66911 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
66912 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
66913 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66914 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
66915 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
66916 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
66917 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
66918 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
66919 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
66920 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
66921 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
66922 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
66923 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
66925 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66930 # If the user did not use the arguments to specify the items to instantiate,
66931 # then the envvar interface is used. Set only those that are not.
66932 # We use the long form for the default assignment because of an extremely
66933 # bizarre bug on SunOS 4.1.3.
66934 if $ac_need_defaults; then
66935 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66936 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
66937 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
66940 # Have a temporary directory for convenience. Make it in the build tree
66941 # simply because there is no reason against having it here, and in addition,
66942 # creating and moving files from /tmp can sometimes cause problems.
66943 # Hook for its removal unless debugging.
66944 # Note that there is a small window in which the directory will not be cleaned:
66945 # after its creation but before its name has been assigned to `$tmp'.
66949 trap 'exit_status=$?
66950 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66952 trap 'as_fn_exit 1' 1 2 13 15
66954 # Create a (secure) tmp directory for tmp files.
66957 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66958 test -n "$tmp" && test -d "$tmp"
66961 tmp=./conf$$-$RANDOM
66962 (umask 077 && mkdir "$tmp")
66963 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
66965 # Set up the scripts for CONFIG_FILES section.
66966 # No need to generate them if there are no CONFIG_FILES.
66967 # This happens for instance with `./config.status config.h'.
66968 if test -n "$CONFIG_FILES"; then
66971 ac_cr=`echo X | tr X '\015'`
66972 # On cygwin, bash can eat \r inside `` if the user requested igncr.
66973 # But we know of no other shell where ac_cr would be empty at this
66974 # point, so we can use a bashism as a fallback.
66975 if test "x$ac_cr" = x; then
66976 eval ac_cr=\$\'\\r\'
66978 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66979 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
66982 ac_cs_awk_cr=$ac_cr
66985 echo 'BEGIN {' >"$tmp/subs1.awk" &&
66990 echo "cat >conf$$subs.awk <<_ACEOF" &&
66991 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
66993 } >conf$$subs.sh ||
66994 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66995 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
66997 for ac_last_try in false false false false false :; do
66998 . ./conf$$subs.sh ||
66999 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67001 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67002 if test $ac_delim_n = $ac_delim_num; then
67004 elif $ac_last_try; then
67005 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67007 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67010 rm -f conf$$subs.sh
67012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67013 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67017 s/^/S["/; s/!.*/"]=/
67027 s/\(.\{148\}\).*/\1/
67029 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67034 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67041 s/\(.\{148\}\).*/\1/
67043 s/["\\]/\\&/g; s/^/"/; s/$/"/
67047 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67052 ' <conf$$subs.awk | sed '
67057 ' >>$CONFIG_STATUS || ac_write_fail=1
67058 rm -f conf$$subs.awk
67059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67061 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67062 for (key in S) S_is_set[key] = 1
67068 nfields = split(line, field, "@")
67070 len = length(field[1])
67071 for (i = 2; i < nfields; i++) {
67073 keylen = length(key)
67074 if (S_is_set[key]) {
67076 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67077 len += length(value) + length(field[++i])
67088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67089 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67090 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67093 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67094 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67097 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67098 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67099 # trailing colons and then remove the whole line if VPATH becomes empty
67100 # (actually we leave an empty line to preserve line numbers).
67101 if test "x$srcdir" = x.; then
67102 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67103 s/:*\$(srcdir):*/:/
67104 s/:*\${srcdir}:*/:/
67106 s/^\([^=]*=[ ]*\):*/\1/
67112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67113 fi # test -n "$CONFIG_FILES"
67115 # Set up the scripts for CONFIG_HEADERS section.
67116 # No need to generate them if there are no CONFIG_HEADERS.
67117 # This happens for instance with `./config.status Makefile'.
67118 if test -n "$CONFIG_HEADERS"; then
67119 cat >"$tmp/defines.awk" <<\_ACAWK ||
67123 # Transform confdefs.h into an awk script `defines.awk', embedded as
67124 # here-document in config.status, that substitutes the proper values into
67125 # config.h.in to produce config.h.
67127 # Create a delimiter string that does not exist in confdefs.h, to ease
67128 # handling of long lines.
67130 for ac_last_try in false false :; do
67131 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67132 if test -z "$ac_t"; then
67134 elif $ac_last_try; then
67135 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67141 # For the awk script, D is an array of macro values keyed by name,
67142 # likewise P contains macro parameters if any. Preserve backslash
67143 # newline sequences.
67145 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67147 s/.\{148\}/&'"$ac_delim"'/g
67150 s/^[ ]*#[ ]*define[ ][ ]*/ /
67157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67159 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67163 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67164 D["\1"]=" \3\\\\\\n"\\/p
67166 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67171 s/.\{148\}/&'"$ac_delim"'/g
67176 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67179 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67181 ' <confdefs.h | sed '
67182 s/'"$ac_delim"'/"\\\
67183 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67186 for (key in D) D_is_set[key] = 1
67189 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67191 split(line, arg, " ")
67192 if (arg[1] == "#") {
67196 defundef = substr(arg[1], 2)
67199 split(mac1, mac2, "(") #)
67201 prefix = substr(line, 1, index(line, defundef) - 1)
67202 if (D_is_set[macro]) {
67203 # Preserve the white space surrounding the "#".
67204 print prefix "define", macro P[macro] D[macro]
67207 # Replace #undef with comments. This is necessary, for example,
67208 # in the case of _POSIX_SOURCE, which is predefined and required
67209 # on some systems where configure will not decide to define it.
67210 if (defundef == "undef") {
67211 print "/*", prefix defundef, macro, "*/"
67219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67220 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67221 fi # test -n "$CONFIG_HEADERS"
67224 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67229 :[FHLC]) ac_mode=$ac_tag; continue;;
67231 case $ac_mode$ac_tag in
67233 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67234 :[FH]-) ac_tag=-:-;;
67235 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67252 -) ac_f="$tmp/stdin";;
67253 *) # Look for the file first in the build tree, then in the source tree
67254 # (if the path is not absolute). The absolute path cannot be DOS-style,
67255 # because $ac_f cannot contain `:'.
67259 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67261 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67263 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67264 as_fn_append ac_file_inputs " '$ac_f'"
67267 # Let's still pretend it is `configure' which instantiates (i.e., don't
67268 # use $as_me), people would be surprised to read:
67269 # /* config.h. Generated by config.status. */
67270 configure_input='Generated from '`
67271 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67273 if test x"$ac_file" != x-; then
67274 configure_input="$ac_file. $configure_input"
67275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67276 $as_echo "$as_me: creating $ac_file" >&6;}
67278 # Neutralize special characters interpreted by sed in replacement strings.
67279 case $configure_input in #(
67280 *\&* | *\|* | *\\* )
67281 ac_sed_conf_input=`$as_echo "$configure_input" |
67282 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67283 *) ac_sed_conf_input=$configure_input;;
67287 *:-:* | *:-) cat >"$tmp/stdin" \
67288 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67293 ac_dir=`$as_dirname -- "$ac_file" ||
67294 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67295 X"$ac_file" : 'X\(//\)[^/]' \| \
67296 X"$ac_file" : 'X\(//\)$' \| \
67297 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67298 $as_echo X"$ac_file" |
67299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67303 /^X\(\/\/\)[^/].*/{
67316 as_dir="$ac_dir"; as_fn_mkdir_p
67320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67322 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67323 # A ".." for each directory in $ac_dir_suffix.
67324 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67325 case $ac_top_builddir_sub in
67326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67330 ac_abs_top_builddir=$ac_pwd
67331 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67332 # for backward compatibility:
67333 ac_top_builddir=$ac_top_build_prefix
67336 .) # We are building in place.
67338 ac_top_srcdir=$ac_top_builddir_sub
67339 ac_abs_top_srcdir=$ac_pwd ;;
67340 [\\/]* | ?:[\\/]* ) # Absolute name.
67341 ac_srcdir=$srcdir$ac_dir_suffix;
67342 ac_top_srcdir=$srcdir
67343 ac_abs_top_srcdir=$srcdir ;;
67344 *) # Relative name.
67345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67346 ac_top_srcdir=$ac_top_build_prefix$srcdir
67347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67359 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67360 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67362 ac_MKDIR_P=$MKDIR_P
67364 [\\/$]* | ?:[\\/]* ) ;;
67365 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67370 # If the template does not know about datarootdir, expand it.
67371 # FIXME: This hack should be removed a few years after 2.60.
67372 ac_datarootdir_hack=; ac_datarootdir_seen=
67383 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67384 *datarootdir*) ac_datarootdir_seen=yes;;
67385 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67387 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67390 ac_datarootdir_hack='
67391 s&@datadir@&$datadir&g
67392 s&@docdir@&$docdir&g
67393 s&@infodir@&$infodir&g
67394 s&@localedir@&$localedir&g
67395 s&@mandir@&$mandir&g
67396 s&\\\${datarootdir}&$datarootdir&g' ;;
67400 # Neutralize VPATH when `$srcdir' = `.'.
67401 # Shell code in configure.ac might set extrasub.
67402 # FIXME: do we really want to maintain this feature?
67403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67404 ac_sed_extra="$ac_vpsub
67407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67409 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67410 s|@configure_input@|$ac_sed_conf_input|;t t
67411 s&@top_builddir@&$ac_top_builddir_sub&;t t
67412 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67413 s&@srcdir@&$ac_srcdir&;t t
67414 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67415 s&@top_srcdir@&$ac_top_srcdir&;t t
67416 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67417 s&@builddir@&$ac_builddir&;t t
67418 s&@abs_builddir@&$ac_abs_builddir&;t t
67419 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67420 s&@INSTALL@&$ac_INSTALL&;t t
67421 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67422 $ac_datarootdir_hack
67424 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67425 || as_fn_error "could not create $ac_file" "$LINENO" 5
67427 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67428 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67429 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67431 which seems to be undefined. Please make sure it is defined." >&5
67432 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67433 which seems to be undefined. Please make sure it is defined." >&2;}
67437 -) cat "$tmp/out" && rm -f "$tmp/out";;
67438 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67440 || as_fn_error "could not create $ac_file" "$LINENO" 5
67446 if test x"$ac_file" != x-; then
67448 $as_echo "/* $configure_input */" \
67449 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67450 } >"$tmp/config.h" \
67451 || as_fn_error "could not create $ac_file" "$LINENO" 5
67452 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67453 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67454 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67457 mv "$tmp/config.h" "$ac_file" \
67458 || as_fn_error "could not create $ac_file" "$LINENO" 5
67461 $as_echo "/* $configure_input */" \
67462 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67463 || as_fn_error "could not create -" "$LINENO" 5
67465 # Compute "$ac_file"'s index in $config_headers.
67468 for _am_header in $config_headers :; do
67469 case $_am_header in
67470 $_am_arg | $_am_arg:* )
67473 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67476 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67477 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67478 X"$_am_arg" : 'X\(//\)[^/]' \| \
67479 X"$_am_arg" : 'X\(//\)$' \| \
67480 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67481 $as_echo X"$_am_arg" |
67482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67486 /^X\(\/\/\)[^/].*/{
67498 s/.*/./; q'`/stamp-h$_am_stamp_count
67501 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67502 $as_echo "$as_me: executing $ac_file commands" >&6;}
67507 case $ac_file$ac_mode in
67509 # Only add multilib support code if we just rebuilt the top-level
67511 case " $CONFIG_FILES " in
67513 ac_file=Makefile . ${multi_basedir}/config-ml.in
67518 # See if we are running on zsh, and set the options which allow our
67519 # commands through without removal of \ escapes.
67520 if test -n "${ZSH_VERSION+set}" ; then
67521 setopt NO_GLOB_SUBST
67524 cfgfile="${ofile}T"
67525 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67528 cat <<_LT_EOF >> "$cfgfile"
67531 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67532 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67533 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67534 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67536 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67537 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67538 # Written by Gordon Matzigkeit, 1996
67540 # This file is part of GNU Libtool.
67542 # GNU Libtool is free software; you can redistribute it and/or
67543 # modify it under the terms of the GNU General Public License as
67544 # published by the Free Software Foundation; either version 2 of
67545 # the License, or (at your option) any later version.
67547 # As a special exception to the GNU General Public License,
67548 # if you distribute this file as part of a program or library that
67549 # is built using GNU Libtool, you may include this file under the
67550 # same distribution terms that you use for the rest of that program.
67552 # GNU Libtool is distributed in the hope that it will be useful,
67553 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67554 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67555 # GNU General Public License for more details.
67557 # You should have received a copy of the GNU General Public License
67558 # along with GNU Libtool; see the file COPYING. If not, a copy
67559 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67560 # obtained by writing to the Free Software Foundation, Inc.,
67561 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67564 # The names of the tagged configurations supported by this script.
67565 available_tags="CXX "
67567 # ### BEGIN LIBTOOL CONFIG
67569 # Which release of libtool.m4 was used?
67570 macro_version=$macro_version
67571 macro_revision=$macro_revision
67573 # Whether or not to build shared libraries.
67574 build_libtool_libs=$enable_shared
67576 # Whether or not to build static libraries.
67577 build_old_libs=$enable_static
67579 # What type of objects to build.
67582 # Whether or not to optimize for fast installation.
67583 fast_install=$enable_fast_install
67585 # Shell to use when invoking shell scripts.
67588 # An echo program that protects backslashes.
67592 host_alias=$host_alias
67596 # The build system.
67597 build_alias=$build_alias
67601 # A sed program that does not truncate output.
67604 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67605 Xsed="\$SED -e 1s/^X//"
67607 # A grep program that handles long lines.
67613 # A literal string matcher.
67616 # A BSD- or MS-compatible name lister.
67619 # Whether we need soft or hard links.
67622 # What is the maximum length of a command?
67623 max_cmd_len=$max_cmd_len
67625 # Object file suffix (normally "o").
67628 # Executable file suffix (normally "").
67631 # whether the shell understands "unset".
67634 # turn spaces into newlines.
67637 # turn newlines into spaces.
67640 # An object symbol dumper.
67641 OBJDUMP=$lt_OBJDUMP
67643 # Method to check whether dependent libraries are shared objects.
67644 deplibs_check_method=$lt_deplibs_check_method
67646 # Command to use when deplibs_check_method == "file_magic".
67647 file_magic_cmd=$lt_file_magic_cmd
67651 AR_FLAGS=$lt_AR_FLAGS
67653 # A symbol stripping program.
67656 # Commands used to install an old-style archive.
67658 old_postinstall_cmds=$lt_old_postinstall_cmds
67659 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67661 # Whether to use a lock for old archive extraction.
67662 lock_old_archive_extraction=$lock_old_archive_extraction
67667 # LTCC compiler flags.
67668 LTCFLAGS=$lt_CFLAGS
67670 # Take the output of nm and produce a listing of raw symbols and C names.
67671 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67673 # Transform the output of nm in a proper C declaration.
67674 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67676 # Transform the output of nm in a C name address pair.
67677 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67679 # Transform the output of nm in a C name address pair when lib prefix is needed.
67680 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67682 # The name of the directory that contains temporary libtool files.
67685 # Used to examine libraries when file_magic_cmd begins with "file".
67686 MAGIC_CMD=$MAGIC_CMD
67688 # Must we lock files when doing compilation?
67689 need_locks=$lt_need_locks
67691 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67692 DSYMUTIL=$lt_DSYMUTIL
67694 # Tool to change global to local symbols on Mac OS X.
67697 # Tool to manipulate fat objects and archives on Mac OS X.
67700 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67703 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67704 OTOOL64=$lt_OTOOL64
67706 # Old archive suffix (normally "a").
67709 # Shared library suffix (normally ".so").
67710 shrext_cmds=$lt_shrext_cmds
67712 # The commands to extract the exported symbol list from a shared archive.
67713 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67715 # Variables whose values should be saved in libtool wrapper scripts and
67716 # restored at link time.
67717 variables_saved_for_relink=$lt_variables_saved_for_relink
67719 # Do we need the "lib" prefix for modules?
67720 need_lib_prefix=$need_lib_prefix
67722 # Do we need a version for libraries?
67723 need_version=$need_version
67725 # Library versioning type.
67726 version_type=$version_type
67728 # Shared library runtime path variable.
67729 runpath_var=$runpath_var
67731 # Shared library path variable.
67732 shlibpath_var=$shlibpath_var
67734 # Is shlibpath searched before the hard-coded library search path?
67735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67737 # Format of library name prefix.
67738 libname_spec=$lt_libname_spec
67740 # List of archive names. First name is the real one, the rest are links.
67741 # The last name is the one that the linker finds with -lNAME
67742 library_names_spec=$lt_library_names_spec
67744 # The coded name of the library, if different from the real name.
67745 soname_spec=$lt_soname_spec
67747 # Permission mode override for installation of shared libraries.
67748 install_override_mode=$lt_install_override_mode
67750 # Command to use after installation of a shared archive.
67751 postinstall_cmds=$lt_postinstall_cmds
67753 # Command to use after uninstallation of a shared archive.
67754 postuninstall_cmds=$lt_postuninstall_cmds
67756 # Commands used to finish a libtool library installation in a directory.
67757 finish_cmds=$lt_finish_cmds
67759 # As "finish_cmds", except a single script fragment to be evaled but
67761 finish_eval=$lt_finish_eval
67763 # Whether we should hardcode library paths into libraries.
67764 hardcode_into_libs=$hardcode_into_libs
67766 # Compile-time system search path for libraries.
67767 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67769 # Run-time system search path for libraries.
67770 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67772 # Whether dlopen is supported.
67773 dlopen_support=$enable_dlopen
67775 # Whether dlopen of programs is supported.
67776 dlopen_self=$enable_dlopen_self
67778 # Whether dlopen of statically linked programs is supported.
67779 dlopen_self_static=$enable_dlopen_self_static
67781 # Commands to strip libraries.
67782 old_striplib=$lt_old_striplib
67783 striplib=$lt_striplib
67786 # The linker used to build libraries.
67789 # How to create reloadable object files.
67790 reload_flag=$lt_reload_flag
67791 reload_cmds=$lt_reload_cmds
67793 # Commands used to build an old-style archive.
67794 old_archive_cmds=$lt_old_archive_cmds
67796 # A language specific compiler.
67799 # Is the compiler the GNU compiler?
67802 # Compiler flag to turn off builtin functions.
67803 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67805 # How to pass a linker flag through the compiler.
67806 wl=$lt_lt_prog_compiler_wl
67808 # Additional compiler flags for building library objects.
67809 pic_flag=$lt_lt_prog_compiler_pic
67811 # Compiler flag to prevent dynamic linking.
67812 link_static_flag=$lt_lt_prog_compiler_static
67814 # Does compiler simultaneously support -c and -o options?
67815 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67817 # Whether or not to add -lc for building shared libraries.
67818 build_libtool_need_lc=$archive_cmds_need_lc
67820 # Whether or not to disallow shared libs when runtime libs are static.
67821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67823 # Compiler flag to allow reflexive dlopens.
67824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67826 # Compiler flag to generate shared objects directly from archives.
67827 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67829 # Whether the compiler copes with passing no objects directly.
67830 compiler_needs_object=$lt_compiler_needs_object
67832 # Create an old-style archive from a shared archive.
67833 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67835 # Create a temporary old-style archive to link instead of a shared archive.
67836 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67838 # Commands used to build a shared archive.
67839 archive_cmds=$lt_archive_cmds
67840 archive_expsym_cmds=$lt_archive_expsym_cmds
67842 # Commands used to build a loadable module if different from building
67843 # a shared archive.
67844 module_cmds=$lt_module_cmds
67845 module_expsym_cmds=$lt_module_expsym_cmds
67847 # Whether we are building with GNU ld or not.
67848 with_gnu_ld=$lt_with_gnu_ld
67850 # Flag that allows shared libraries with undefined symbols to be built.
67851 allow_undefined_flag=$lt_allow_undefined_flag
67853 # Flag that enforces no undefined symbols.
67854 no_undefined_flag=$lt_no_undefined_flag
67856 # Flag to hardcode \$libdir into a binary during linking.
67857 # This must work even if \$libdir does not exist
67858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67860 # If ld is used when linking, flag to hardcode \$libdir into a binary
67861 # during linking. This must work even if \$libdir does not exist.
67862 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67864 # Whether we need a single "-rpath" flag with a separated argument.
67865 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67868 # DIR into the resulting binary.
67869 hardcode_direct=$hardcode_direct
67871 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67872 # DIR into the resulting binary and the resulting library dependency is
67873 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67874 # library is relocated.
67875 hardcode_direct_absolute=$hardcode_direct_absolute
67877 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67878 # into the resulting binary.
67879 hardcode_minus_L=$hardcode_minus_L
67881 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67882 # into the resulting binary.
67883 hardcode_shlibpath_var=$hardcode_shlibpath_var
67885 # Set to "yes" if building a shared library automatically hardcodes DIR
67886 # into the library and all subsequent libraries and executables linked
67888 hardcode_automatic=$hardcode_automatic
67890 # Set to yes if linker adds runtime paths of dependent libraries
67891 # to runtime path list.
67892 inherit_rpath=$inherit_rpath
67894 # Whether libtool must link a program against all its dependency libraries.
67895 link_all_deplibs=$link_all_deplibs
67897 # Fix the shell variable \$srcfile for the compiler.
67898 fix_srcfile_path=$lt_fix_srcfile_path
67900 # Set to "yes" if exported symbols are required.
67901 always_export_symbols=$always_export_symbols
67903 # The commands to list exported symbols.
67904 export_symbols_cmds=$lt_export_symbols_cmds
67906 # Symbols that should not be listed in the preloaded symbols.
67907 exclude_expsyms=$lt_exclude_expsyms
67909 # Symbols that must always be exported.
67910 include_expsyms=$lt_include_expsyms
67912 # Commands necessary for linking programs (against libraries) with templates.
67913 prelink_cmds=$lt_prelink_cmds
67915 # Specify filename containing input files.
67916 file_list_spec=$lt_file_list_spec
67918 # How to hardcode a shared library path into an executable.
67919 hardcode_action=$hardcode_action
67921 # The directories searched by this compiler when creating a shared library.
67922 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
67924 # Dependencies to place before and after the objects being linked to
67925 # create a shared library.
67926 predep_objects=$lt_predep_objects
67927 postdep_objects=$lt_postdep_objects
67928 predeps=$lt_predeps
67929 postdeps=$lt_postdeps
67931 # The library search path used internally by the compiler when linking
67932 # a shared library.
67933 compiler_lib_search_path=$lt_compiler_lib_search_path
67935 # ### END LIBTOOL CONFIG
67941 cat <<\_LT_EOF >> "$cfgfile"
67942 # AIX sometimes has problems with the GCC collect2 program. For some
67943 # reason, if we set the COLLECT_NAMES environment variable, the problems
67944 # vanish in a puff of smoke.
67945 if test "X${COLLECT_NAMES+set}" != Xset; then
67947 export COLLECT_NAMES
67954 ltmain="$ac_aux_dir/ltmain.sh"
67957 # We use sed instead of cat because bash on DJGPP gets confused if
67958 # if finds mixed CR/LF and LF-only lines. Since sed operates in
67959 # text mode, it properly converts lines to CR/LF. This bash problem
67960 # is reportedly fixed, but why not run on old versions too?
67961 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
67962 || (rm -f "$cfgfile"; exit 1)
67966 cat << \_LT_EOF >> "$cfgfile"
67968 # func_dirname file append nondir_replacement
67969 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
67970 # otherwise set result to NONDIR_REPLACEMENT.
67974 */*) func_dirname_result="${1%/*}${2}" ;;
67975 * ) func_dirname_result="${3}" ;;
67979 # func_basename file
67982 func_basename_result="${1##*/}"
67985 # func_dirname_and_basename file append nondir_replacement
67986 # perform func_basename and func_dirname in a single function
67988 # dirname: Compute the dirname of FILE. If nonempty,
67989 # add APPEND to the result, otherwise set result
67990 # to NONDIR_REPLACEMENT.
67991 # value returned in "$func_dirname_result"
67992 # basename: Compute filename of FILE.
67993 # value retuned in "$func_basename_result"
67994 # Implementation must be kept synchronized with func_dirname
67995 # and func_basename. For efficiency, we do not delegate to
67996 # those functions but instead duplicate the functionality here.
67997 func_dirname_and_basename ()
68000 */*) func_dirname_result="${1%/*}${2}" ;;
68001 * ) func_dirname_result="${3}" ;;
68003 func_basename_result="${1##*/}"
68006 # func_stripname prefix suffix name
68007 # strip PREFIX and SUFFIX off of NAME.
68008 # PREFIX and SUFFIX must not contain globbing or regex special
68009 # characters, hashes, percent signs, but SUFFIX may contain a leading
68010 # dot (in which case that matches only a dot).
68013 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68014 # positional parameters, so assign one to ordinary parameter first.
68015 func_stripname_result=${3}
68016 func_stripname_result=${func_stripname_result#"${1}"}
68017 func_stripname_result=${func_stripname_result%"${2}"}
68023 func_opt_split_opt=${1%%=*}
68024 func_opt_split_arg=${1#*=}
68031 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68032 *) func_lo2o_result=${1} ;;
68036 # func_xform libobj-or-source
68039 func_xform_result=${1%.*}.lo
68042 # func_arith arithmetic-term...
68045 func_arith_result=$(( $* ))
68049 # STRING may not start with a hyphen.
68052 func_len_result=${#1}
68057 *) # Bourne compatible functions.
68058 cat << \_LT_EOF >> "$cfgfile"
68060 # func_dirname file append nondir_replacement
68061 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68062 # otherwise set result to NONDIR_REPLACEMENT.
68065 # Extract subdirectory from the argument.
68066 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68067 if test "X$func_dirname_result" = "X${1}"; then
68068 func_dirname_result="${3}"
68070 func_dirname_result="$func_dirname_result${2}"
68074 # func_basename file
68077 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68081 # func_stripname prefix suffix name
68082 # strip PREFIX and SUFFIX off of NAME.
68083 # PREFIX and SUFFIX must not contain globbing or regex special
68084 # characters, hashes, percent signs, but SUFFIX may contain a leading
68085 # dot (in which case that matches only a dot).
68086 # func_strip_suffix prefix name
68090 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68091 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68096 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68097 my_sed_long_arg='1s/^-[^=]*=//'
68102 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68103 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68109 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68112 # func_xform libobj-or-source
68115 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68118 # func_arith arithmetic-term...
68121 func_arith_result=`expr "$@"`
68125 # STRING may not start with a hyphen.
68128 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68134 case $lt_shell_append in
68136 cat << \_LT_EOF >> "$cfgfile"
68138 # func_append var value
68139 # Append VALUE to the end of shell variable VAR.
68147 cat << \_LT_EOF >> "$cfgfile"
68149 # func_append var value
68150 # Append VALUE to the end of shell variable VAR.
68161 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68162 || (rm -f "$cfgfile"; exit 1)
68164 mv -f "$cfgfile" "$ofile" ||
68165 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68169 cat <<_LT_EOF >> "$ofile"
68171 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68173 # The linker used to build libraries.
68176 # How to create reloadable object files.
68177 reload_flag=$lt_reload_flag_CXX
68178 reload_cmds=$lt_reload_cmds_CXX
68180 # Commands used to build an old-style archive.
68181 old_archive_cmds=$lt_old_archive_cmds_CXX
68183 # A language specific compiler.
68184 CC=$lt_compiler_CXX
68186 # Is the compiler the GNU compiler?
68189 # Compiler flag to turn off builtin functions.
68190 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68192 # How to pass a linker flag through the compiler.
68193 wl=$lt_lt_prog_compiler_wl_CXX
68195 # Additional compiler flags for building library objects.
68196 pic_flag=$lt_lt_prog_compiler_pic_CXX
68198 # Compiler flag to prevent dynamic linking.
68199 link_static_flag=$lt_lt_prog_compiler_static_CXX
68201 # Does compiler simultaneously support -c and -o options?
68202 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68204 # Whether or not to add -lc for building shared libraries.
68205 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68207 # Whether or not to disallow shared libs when runtime libs are static.
68208 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68210 # Compiler flag to allow reflexive dlopens.
68211 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68213 # Compiler flag to generate shared objects directly from archives.
68214 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68216 # Whether the compiler copes with passing no objects directly.
68217 compiler_needs_object=$lt_compiler_needs_object_CXX
68219 # Create an old-style archive from a shared archive.
68220 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68222 # Create a temporary old-style archive to link instead of a shared archive.
68223 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68225 # Commands used to build a shared archive.
68226 archive_cmds=$lt_archive_cmds_CXX
68227 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68229 # Commands used to build a loadable module if different from building
68230 # a shared archive.
68231 module_cmds=$lt_module_cmds_CXX
68232 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68234 # Whether we are building with GNU ld or not.
68235 with_gnu_ld=$lt_with_gnu_ld_CXX
68237 # Flag that allows shared libraries with undefined symbols to be built.
68238 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68240 # Flag that enforces no undefined symbols.
68241 no_undefined_flag=$lt_no_undefined_flag_CXX
68243 # Flag to hardcode \$libdir into a binary during linking.
68244 # This must work even if \$libdir does not exist
68245 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68247 # If ld is used when linking, flag to hardcode \$libdir into a binary
68248 # during linking. This must work even if \$libdir does not exist.
68249 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68251 # Whether we need a single "-rpath" flag with a separated argument.
68252 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68254 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68255 # DIR into the resulting binary.
68256 hardcode_direct=$hardcode_direct_CXX
68258 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68259 # DIR into the resulting binary and the resulting library dependency is
68260 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68261 # library is relocated.
68262 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68264 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68265 # into the resulting binary.
68266 hardcode_minus_L=$hardcode_minus_L_CXX
68268 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68269 # into the resulting binary.
68270 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68272 # Set to "yes" if building a shared library automatically hardcodes DIR
68273 # into the library and all subsequent libraries and executables linked
68275 hardcode_automatic=$hardcode_automatic_CXX
68277 # Set to yes if linker adds runtime paths of dependent libraries
68278 # to runtime path list.
68279 inherit_rpath=$inherit_rpath_CXX
68281 # Whether libtool must link a program against all its dependency libraries.
68282 link_all_deplibs=$link_all_deplibs_CXX
68284 # Fix the shell variable \$srcfile for the compiler.
68285 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68287 # Set to "yes" if exported symbols are required.
68288 always_export_symbols=$always_export_symbols_CXX
68290 # The commands to list exported symbols.
68291 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68293 # Symbols that should not be listed in the preloaded symbols.
68294 exclude_expsyms=$lt_exclude_expsyms_CXX
68296 # Symbols that must always be exported.
68297 include_expsyms=$lt_include_expsyms_CXX
68299 # Commands necessary for linking programs (against libraries) with templates.
68300 prelink_cmds=$lt_prelink_cmds_CXX
68302 # Specify filename containing input files.
68303 file_list_spec=$lt_file_list_spec_CXX
68305 # How to hardcode a shared library path into an executable.
68306 hardcode_action=$hardcode_action_CXX
68308 # The directories searched by this compiler when creating a shared library.
68309 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68311 # Dependencies to place before and after the objects being linked to
68312 # create a shared library.
68313 predep_objects=$lt_predep_objects_CXX
68314 postdep_objects=$lt_postdep_objects_CXX
68315 predeps=$lt_predeps_CXX
68316 postdeps=$lt_postdeps_CXX
68318 # The library search path used internally by the compiler when linking
68319 # a shared library.
68320 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68322 # ### END LIBTOOL TAG CONFIG: CXX
68326 "include/gstdint.h":C)
68327 if test "$GCC" = yes; then
68328 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68330 echo "/* generated for $CC */" > tmp-stdint.h
68333 sed 's/^ *//' >> tmp-stdint.h <<EOF
68335 #ifndef GCC_GENERATED_STDINT_H
68336 #define GCC_GENERATED_STDINT_H 1
68338 #include <sys/types.h>
68341 if test "$acx_cv_header_stdint" != stdint.h; then
68342 echo "#include <stddef.h>" >> tmp-stdint.h
68344 if test "$acx_cv_header_stdint" != stddef.h; then
68345 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68348 sed 's/^ *//' >> tmp-stdint.h <<EOF
68349 /* glibc uses these symbols as guards to prevent redefinitions. */
68350 #ifdef __int8_t_defined
68355 #ifdef __uint32_t_defined
68361 # ----------------- done header, emit basic int types -------------
68362 if test "$acx_cv_header_stdint" = stddef.h; then
68363 sed 's/^ *//' >> tmp-stdint.h <<EOF
68367 #ifndef __uint8_t_defined
68368 #define __uint8_t_defined
68370 typedef unsigned $acx_cv_type_int8_t uint8_t;
68377 #ifndef __uint16_t_defined
68378 #define __uint16_t_defined
68380 typedef unsigned $acx_cv_type_int16_t uint16_t;
68387 #ifndef __uint32_t_defined
68388 #define __uint32_t_defined
68390 typedef unsigned $acx_cv_type_int32_t uint32_t;
68397 #ifndef __int8_t_defined
68398 #define __int8_t_defined
68400 typedef $acx_cv_type_int8_t int8_t;
68407 #ifndef __int16_t_defined
68408 #define __int16_t_defined
68410 typedef $acx_cv_type_int16_t int16_t;
68417 #ifndef __int32_t_defined
68418 #define __int32_t_defined
68420 typedef $acx_cv_type_int32_t int32_t;
68425 elif test "$ac_cv_type_u_int32_t" = yes; then
68426 sed 's/^ *//' >> tmp-stdint.h <<EOF
68428 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68441 #ifndef __uint8_t_defined
68442 #define __uint8_t_defined
68444 typedef u_int8_t uint8_t;
68451 #ifndef __uint16_t_defined
68452 #define __uint16_t_defined
68454 typedef u_int16_t uint16_t;
68461 #ifndef __uint32_t_defined
68462 #define __uint32_t_defined
68464 typedef u_int32_t uint32_t;
68470 sed 's/^ *//' >> tmp-stdint.h <<EOF
68472 /* Some systems have guard macros to prevent redefinitions, define them. */
68494 # ------------- done basic int types, emit int64_t types ------------
68495 if test "$ac_cv_type_uint64_t" = yes; then
68496 sed 's/^ *//' >> tmp-stdint.h <<EOF
68498 /* system headers have good uint64_t and int64_t */
68506 elif test "$ac_cv_type_u_int64_t" = yes; then
68507 sed 's/^ *//' >> tmp-stdint.h <<EOF
68509 /* system headers have an u_int64_t (and int64_t) */
68515 #ifndef __uint64_t_defined
68516 #define __uint64_t_defined
68518 typedef u_int64_t uint64_t;
68523 elif test -n "$acx_cv_type_int64_t"; then
68524 sed 's/^ *//' >> tmp-stdint.h <<EOF
68526 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68530 typedef $acx_cv_type_int64_t int64_t;
68535 #ifndef __uint64_t_defined
68536 #define __uint64_t_defined
68538 typedef unsigned $acx_cv_type_int64_t uint64_t;
68544 sed 's/^ *//' >> tmp-stdint.h <<EOF
68546 /* some common heuristics for int64_t, using compiler-specific tests */
68547 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68550 #ifndef __int64_t_defined
68552 typedef long long int64_t;
68559 typedef unsigned long long uint64_t;
68563 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68564 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68565 does not implement __extension__. But that compiler doesn't define
68567 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68568 # define __extension__
68574 __extension__ typedef long long int64_t;
68580 __extension__ typedef unsigned long long uint64_t;
68584 #elif !defined __STRICT_ANSI__
68585 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68590 typedef __int64 int64_t;
68596 typedef unsigned __int64 uint64_t;
68599 # endif /* compiler */
68601 #endif /* ANSI version */
68605 # ------------- done int64_t types, emit intptr types ------------
68606 if test "$ac_cv_type_uintptr_t" != yes; then
68607 sed 's/^ *//' >> tmp-stdint.h <<EOF
68609 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68610 #ifndef __uintptr_t_defined
68612 typedef u$acx_cv_type_intptr_t uintptr_t;
68615 #ifndef __intptr_t_defined
68617 typedef $acx_cv_type_intptr_t intptr_t;
68623 # ------------- done intptr types, emit int_least types ------------
68624 if test "$ac_cv_type_int_least32_t" != yes; then
68625 sed 's/^ *//' >> tmp-stdint.h <<EOF
68627 /* Define int_least types */
68628 typedef int8_t int_least8_t;
68629 typedef int16_t int_least16_t;
68630 typedef int32_t int_least32_t;
68632 typedef int64_t int_least64_t;
68635 typedef uint8_t uint_least8_t;
68636 typedef uint16_t uint_least16_t;
68637 typedef uint32_t uint_least32_t;
68639 typedef uint64_t uint_least64_t;
68644 # ------------- done intptr types, emit int_fast types ------------
68645 if test "$ac_cv_type_int_fast32_t" != yes; then
68646 sed 's/^ *//' >> tmp-stdint.h <<EOF
68648 /* Define int_fast types. short is often slow */
68649 typedef int8_t int_fast8_t;
68650 typedef int int_fast16_t;
68651 typedef int32_t int_fast32_t;
68653 typedef int64_t int_fast64_t;
68656 typedef uint8_t uint_fast8_t;
68657 typedef unsigned int uint_fast16_t;
68658 typedef uint32_t uint_fast32_t;
68660 typedef uint64_t uint_fast64_t;
68665 if test "$ac_cv_type_uintmax_t" != yes; then
68666 sed 's/^ *//' >> tmp-stdint.h <<EOF
68668 /* Define intmax based on what we found */
68671 typedef int64_t intmax_t;
68673 typedef long intmax_t;
68678 typedef uint64_t uintmax_t;
68680 typedef unsigned long uintmax_t;
68686 sed 's/^ *//' >> tmp-stdint.h <<EOF
68688 #endif /* GCC_GENERATED_STDINT_H */
68691 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68694 mv -f tmp-stdint.h include/gstdint.h
68698 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68699 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68700 "include/Makefile":F) cat > vpsed$$ << \_EOF
68701 s!`test -f '$<' || echo '$(srcdir)/'`!!
68703 sed -f vpsed$$ $ac_file > tmp$$
68706 echo 'MULTISUBDIR =' >> $ac_file
68708 . ${multi_basedir}/config-ml.in
68709 { ml_norecursion=; unset ml_norecursion;}
68711 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68712 s!`test -f '$<' || echo '$(srcdir)/'`!!
68714 sed -f vpsed$$ $ac_file > tmp$$
68717 echo 'MULTISUBDIR =' >> $ac_file
68719 . ${multi_basedir}/config-ml.in
68720 { ml_norecursion=; unset ml_norecursion;}
68722 "python/Makefile":F) cat > vpsed$$ << \_EOF
68723 s!`test -f '$<' || echo '$(srcdir)/'`!!
68725 sed -f vpsed$$ $ac_file > tmp$$
68728 echo 'MULTISUBDIR =' >> $ac_file
68730 . ${multi_basedir}/config-ml.in
68731 { ml_norecursion=; unset ml_norecursion;}
68733 "src/Makefile":F) cat > vpsed$$ << \_EOF
68734 s!`test -f '$<' || echo '$(srcdir)/'`!!
68736 sed -f vpsed$$ $ac_file > tmp$$
68739 echo 'MULTISUBDIR =' >> $ac_file
68741 . ${multi_basedir}/config-ml.in
68742 { ml_norecursion=; unset ml_norecursion;}
68744 "doc/Makefile":F) cat > vpsed$$ << \_EOF
68745 s!`test -f '$<' || echo '$(srcdir)/'`!!
68747 sed -f vpsed$$ $ac_file > tmp$$
68750 echo 'MULTISUBDIR =' >> $ac_file
68752 . ${multi_basedir}/config-ml.in
68753 { ml_norecursion=; unset ml_norecursion;}
68755 "po/Makefile":F) cat > vpsed$$ << \_EOF
68756 s!`test -f '$<' || echo '$(srcdir)/'`!!
68758 sed -f vpsed$$ $ac_file > tmp$$
68761 echo 'MULTISUBDIR =' >> $ac_file
68763 . ${multi_basedir}/config-ml.in
68764 { ml_norecursion=; unset ml_norecursion;}
68766 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68767 s!`test -f '$<' || echo '$(srcdir)/'`!!
68769 sed -f vpsed$$ $ac_file > tmp$$
68772 echo 'MULTISUBDIR =' >> $ac_file
68774 . ${multi_basedir}/config-ml.in
68775 { ml_norecursion=; unset ml_norecursion;}
68777 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68785 ac_clean_files=$ac_clean_files_save
68787 test $ac_write_fail = 0 ||
68788 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68791 # configure is writing to config.log, and then calls config.status.
68792 # config.status does its own redirection, appending to config.log.
68793 # Unfortunately, on DOS this fails, as config.log is still kept open
68794 # by configure, so config.status won't be able to write to it; its
68795 # output is simply discarded. So we exec the FD to /dev/null,
68796 # effectively closing config.log, so it can be properly (re)opened and
68797 # appended to by config.status. When coming back to configure, we
68798 # need to make the FD available again.
68799 if test "$no_create" != yes; then
68801 ac_config_status_args=
68802 test "$silent" = yes &&
68803 ac_config_status_args="$ac_config_status_args --quiet"
68805 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68807 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68808 # would make configure fail if this is the last instruction.
68809 $ac_cs_success || as_fn_exit $?
68811 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68813 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}